Interface QuartzEndpointBuilderFactory.QuartzEndpointBuilder

All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder, org.apache.camel.EndpointConsumerResolver
Enclosing interface:
QuartzEndpointBuilderFactory

public static interface QuartzEndpointBuilderFactory.QuartzEndpointBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint for the Quartz component.
  • Method Details

    • advanced

    • cron

      Specifies a cron expression to define when to trigger. The option is a: <code>java.lang.String</code> type. Group: consumer
      Parameters:
      cron - the value to set
      Returns:
      the dsl builder
    • deleteJob

      default QuartzEndpointBuilderFactory.QuartzEndpointBuilder deleteJob(boolean deleteJob)
      If set to true, then the trigger automatically delete when route stop. Else if set to false, it will remain in scheduler. When set to false, it will also mean user may reuse pre-configured trigger with camel Uri. Just ensure the names match. Notice you cannot have both deleteJob and pauseJob set to true. The option is a: <code>boolean</code> type. Default: true Group: consumer
      Parameters:
      deleteJob - the value to set
      Returns:
      the dsl builder
    • deleteJob

      If set to true, then the trigger automatically delete when route stop. Else if set to false, it will remain in scheduler. When set to false, it will also mean user may reuse pre-configured trigger with camel Uri. Just ensure the names match. Notice you cannot have both deleteJob and pauseJob set to true. The option will be converted to a <code>boolean</code> type. Default: true Group: consumer
      Parameters:
      deleteJob - the value to set
      Returns:
      the dsl builder
    • durableJob

      default QuartzEndpointBuilderFactory.QuartzEndpointBuilder durableJob(boolean durableJob)
      Whether or not the job should remain stored after it is orphaned (no triggers point to it). The option is a: <code>boolean</code> type. Default: false Group: consumer
      Parameters:
      durableJob - the value to set
      Returns:
      the dsl builder
    • durableJob

      Whether or not the job should remain stored after it is orphaned (no triggers point to it). The option will be converted to a <code>boolean</code> type. Default: false Group: consumer
      Parameters:
      durableJob - the value to set
      Returns:
      the dsl builder
    • pauseJob

      default QuartzEndpointBuilderFactory.QuartzEndpointBuilder pauseJob(boolean pauseJob)
      If set to true, then the trigger automatically pauses when route stop. Else if set to false, it will remain in scheduler. When set to false, it will also mean user may reuse pre-configured trigger with camel Uri. Just ensure the names match. Notice you cannot have both deleteJob and pauseJob set to true. The option is a: <code>boolean</code> type. Default: false Group: consumer
      Parameters:
      pauseJob - the value to set
      Returns:
      the dsl builder
    • pauseJob

      If set to true, then the trigger automatically pauses when route stop. Else if set to false, it will remain in scheduler. When set to false, it will also mean user may reuse pre-configured trigger with camel Uri. Just ensure the names match. Notice you cannot have both deleteJob and pauseJob set to true. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer
      Parameters:
      pauseJob - the value to set
      Returns:
      the dsl builder
    • recoverableJob

      default QuartzEndpointBuilderFactory.QuartzEndpointBuilder recoverableJob(boolean recoverableJob)
      Instructs the scheduler whether or not the job should be re-executed if a 'recovery' or 'fail-over' situation is encountered. The option is a: <code>boolean</code> type. Default: false Group: consumer
      Parameters:
      recoverableJob - the value to set
      Returns:
      the dsl builder
    • recoverableJob

      default QuartzEndpointBuilderFactory.QuartzEndpointBuilder recoverableJob(String recoverableJob)
      Instructs the scheduler whether or not the job should be re-executed if a 'recovery' or 'fail-over' situation is encountered. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer
      Parameters:
      recoverableJob - the value to set
      Returns:
      the dsl builder
    • stateful

      default QuartzEndpointBuilderFactory.QuartzEndpointBuilder stateful(boolean stateful)
      Uses a Quartz PersistJobDataAfterExecution and DisallowConcurrentExecution instead of the default job. The option is a: <code>boolean</code> type. Default: false Group: consumer
      Parameters:
      stateful - the value to set
      Returns:
      the dsl builder
    • stateful

      Uses a Quartz PersistJobDataAfterExecution and DisallowConcurrentExecution instead of the default job. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer
      Parameters:
      stateful - the value to set
      Returns:
      the dsl builder
    • autoStartScheduler

      default QuartzEndpointBuilderFactory.QuartzEndpointBuilder autoStartScheduler(boolean autoStartScheduler)
      Whether or not the scheduler should be auto started. The option is a: <code>boolean</code> type. Default: true Group: scheduler
      Parameters:
      autoStartScheduler - the value to set
      Returns:
      the dsl builder
    • autoStartScheduler

      default QuartzEndpointBuilderFactory.QuartzEndpointBuilder autoStartScheduler(String autoStartScheduler)
      Whether or not the scheduler should be auto started. The option will be converted to a <code>boolean</code> type. Default: true Group: scheduler
      Parameters:
      autoStartScheduler - the value to set
      Returns:
      the dsl builder
    • triggerStartDelay

      default QuartzEndpointBuilderFactory.QuartzEndpointBuilder triggerStartDelay(long triggerStartDelay)
      In case of scheduler has already started, we want the trigger start slightly after current time to ensure endpoint is fully started before the job kicks in. Negative value shifts trigger start time in the past. The option is a: <code>long</code> type. Default: 500 Group: scheduler
      Parameters:
      triggerStartDelay - the value to set
      Returns:
      the dsl builder
    • triggerStartDelay

      default QuartzEndpointBuilderFactory.QuartzEndpointBuilder triggerStartDelay(String triggerStartDelay)
      In case of scheduler has already started, we want the trigger start slightly after current time to ensure endpoint is fully started before the job kicks in. Negative value shifts trigger start time in the past. The option will be converted to a <code>long</code> type. Default: 500 Group: scheduler
      Parameters:
      triggerStartDelay - the value to set
      Returns:
      the dsl builder