Class QuartzHelper
java.lang.Object
org.apache.camel.component.quartz.QuartzHelper
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetQuartzContextName(org.apache.camel.CamelContext camelContext) static voidupdateJobDataMap(org.apache.camel.CamelContext camelContext, org.quartz.JobDetail jobDetail, String endpointUri) Adds the current CamelContext name and endpoint URI to the Job's jobData map.static voidupdateJobDataMap(org.apache.camel.CamelContext camelContext, org.quartz.JobDetail jobDetail, String endpointUri, boolean usingFixedCamelContextName) Adds the current CamelContext name and endpoint URI to the Job's jobData map.
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG
-
-
Method Details
-
getQuartzContextName
-
updateJobDataMap
public static void updateJobDataMap(org.apache.camel.CamelContext camelContext, org.quartz.JobDetail jobDetail, String endpointUri) Adds the current CamelContext name and endpoint URI to the Job's jobData map.- Parameters:
camelContext- The currently active camelContextjobDetail- The job for which the jobData map shall be updatedendpointUri- URI of the endpoint name, if any. May benull
-
updateJobDataMap
public static void updateJobDataMap(org.apache.camel.CamelContext camelContext, org.quartz.JobDetail jobDetail, String endpointUri, boolean usingFixedCamelContextName) Adds the current CamelContext name and endpoint URI to the Job's jobData map.- Parameters:
camelContext- The currently active camelContextjobDetail- The job for which the jobData map shall be updatedendpointUri- URI of the endpoint name, if any. May benullusingFixedCamelContextName- If it is true, jobDataMap uses the CamelContext name; if it is false, jobDataMap uses the CamelContext management name which could be changed during the deploy time
-