Class CamelQuartzCronService
- java.lang.Object
-
- org.apache.camel.component.quartz.cron.CamelQuartzCronService
-
- All Implemented Interfaces:
org.apache.camel.CamelContextAware,org.apache.camel.component.cron.api.CamelCronService,org.apache.camel.spi.HasId
public class CamelQuartzCronService extends Object implements org.apache.camel.component.cron.api.CamelCronService, org.apache.camel.CamelContextAware
Allows the camel-quartz component to be used as implementation for camel-cron endpoints.
-
-
Constructor Summary
Constructors Constructor Description CamelQuartzCronService()
-
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)
-
-
-
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
-
getId
public String getId()
- Specified by:
getIdin interfaceorg.apache.camel.spi.HasId
-
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
-
-