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.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 Constructor Description CamelSpringCronService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.camel.EndpointcreateEndpoint(org.apache.camel.component.cron.api.CamelCronConfiguration configuration)org.apache.camel.CamelContextgetCamelContext()StringgetId()voidsetCamelContext(org.apache.camel.CamelContext camelContext)
-
-
-
Constructor Detail
-
CamelSpringCronService
public CamelSpringCronService()
-
-
Method Detail
-
createEndpoint
public org.apache.camel.Endpoint createEndpoint(org.apache.camel.component.cron.api.CamelCronConfiguration configuration) throws Exception
- Specified by:
createEndpointin interfaceorg.apache.camel.component.cron.api.CamelCronService- Throws:
Exception
-
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext)
- Specified by:
setCamelContextin interfaceorg.apache.camel.CamelContextAware
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()
- Specified by:
getCamelContextin interfaceorg.apache.camel.CamelContextAware
-
-