public class CamelJob extends Object implements org.quartz.Job, org.quartz.InterruptableJob
Constructor and Description |
---|
CamelJob() |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.quartz.JobExecutionContext context) |
protected org.apache.camel.CamelContext |
getCamelContext(org.quartz.JobExecutionContext context) |
protected org.quartz.SchedulerContext |
getSchedulerContext(org.quartz.JobExecutionContext context) |
void |
interrupt() |
protected QuartzEndpoint |
lookupQuartzEndpoint(org.apache.camel.CamelContext camelContext,
org.quartz.JobExecutionContext quartzContext) |
protected QuartzEndpoint |
searchForEndpointMatch(org.apache.camel.CamelContext camelContext,
String endpointUri) |
public void execute(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
execute
in interface org.quartz.Job
org.quartz.JobExecutionException
protected org.apache.camel.CamelContext getCamelContext(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
org.quartz.JobExecutionException
protected org.quartz.SchedulerContext getSchedulerContext(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
org.quartz.JobExecutionException
protected QuartzEndpoint lookupQuartzEndpoint(org.apache.camel.CamelContext camelContext, org.quartz.JobExecutionContext quartzContext) throws org.quartz.JobExecutionException
org.quartz.JobExecutionException
protected QuartzEndpoint searchForEndpointMatch(org.apache.camel.CamelContext camelContext, String endpointUri)
public void interrupt() throws org.quartz.UnableToInterruptJobException
interrupt
in interface org.quartz.InterruptableJob
org.quartz.UnableToInterruptJobException
Apache Camel