public final class QuartzHelper extends Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Modifier and Type | Method and Description |
---|---|
static String |
getQuartzContextName(org.apache.camel.CamelContext camelContext) |
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.
|
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.
|
public static String getQuartzContextName(org.apache.camel.CamelContext camelContext)
public static void updateJobDataMap(org.apache.camel.CamelContext camelContext, org.quartz.JobDetail jobDetail, String endpointUri)
camelContext
- The currently active camelContextjobDetail
- The job for which the jobData map shall be updatedendpointUri
- URI of the endpoint name, if any. May be null
public static void updateJobDataMap(org.apache.camel.CamelContext camelContext, org.quartz.JobDetail jobDetail, String endpointUri, boolean usingFixedCamelContextName)
camelContext
- The currently active camelContextjobDetail
- The job for which the jobData map shall be updatedendpointUri
- URI of the endpoint name, if any. May be null
usingFixedCamelContextName
- 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 timeApache Camel