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.Joborg.quartz.JobExecutionExceptionprotected org.apache.camel.CamelContext getCamelContext(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
org.quartz.JobExecutionExceptionprotected org.quartz.SchedulerContext getSchedulerContext(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
org.quartz.JobExecutionExceptionprotected QuartzEndpoint lookupQuartzEndpoint(org.apache.camel.CamelContext camelContext, org.quartz.JobExecutionContext quartzContext) throws org.quartz.JobExecutionException
org.quartz.JobExecutionExceptionprotected QuartzEndpoint searchForEndpointMatch(org.apache.camel.CamelContext camelContext, String endpointUri)
public void interrupt()
throws org.quartz.UnableToInterruptJobException
interrupt in interface org.quartz.InterruptableJoborg.quartz.UnableToInterruptJobExceptionApache Camel