Class QuartzHelper

java.lang.Object
org.apache.camel.component.quartz.QuartzHelper

public final class QuartzHelper extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
     
  • Method Summary

    Modifier and Type
    Method
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • LOG

      public static final org.slf4j.Logger LOG
  • Method Details

    • getQuartzContextName

      public static String getQuartzContextName(org.apache.camel.CamelContext camelContext)
    • 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 camelContext
      jobDetail - The job for which the jobData map shall be updated
      endpointUri - URI of the endpoint name, if any. May be null
    • 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 camelContext
      jobDetail - The job for which the jobData map shall be updated
      endpointUri - 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 time