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.Endpoint
createEndpoint(org.apache.camel.component.cron.api.CamelCronConfiguration configuration)
org.apache.camel.CamelContext
getCamelContext()
String
getId()
void
setCamelContext(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:
createEndpoint
in interfaceorg.apache.camel.component.cron.api.CamelCronService
- Throws:
Exception
-
getId
public String 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.CamelContextAware
-
-