Package org.apache.camel.component.cron
Class CamelSpringCronService
java.lang.Object
org.apache.camel.component.cron.CamelSpringCronService
- All Implemented Interfaces:
org.apache.camel.CamelContextAware
,org.apache.camel.component.cron.api.CamelCronService
,org.apache.camel.spi.HasCamelContext
,org.apache.camel.spi.HasId
public class CamelSpringCronService
extends Object
implements org.apache.camel.component.cron.api.CamelCronService, org.apache.camel.CamelContextAware
Allows camel-spring to be used as implementation for camel-cron endpoints.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.Endpoint
createEndpoint
(org.apache.camel.component.cron.api.CamelCronConfiguration configuration) org.apache.camel.CamelContext
getId()
void
setCamelContext
(org.apache.camel.CamelContext camelContext)
-
Constructor Details
-
CamelSpringCronService
public CamelSpringCronService()
-
-
Method Details
-
createEndpoint
public org.apache.camel.Endpoint createEndpoint(org.apache.camel.component.cron.api.CamelCronConfiguration configuration) throws Exception - Specified by:
createEndpoint
in interfaceorg.apache.camel.component.cron.api.CamelCronService
- Throws:
Exception
-
getId
- Specified by:
getId
in interfaceorg.apache.camel.spi.HasId
-
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext) - Specified by:
setCamelContext
in interfaceorg.apache.camel.CamelContextAware
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()- Specified by:
getCamelContext
in interfaceorg.apache.camel.spi.HasCamelContext
-