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 Detail

      • bridgeErrorHandler

        default QuartzEndpointBuilderFactory.QuartzEndpointBuilder bridgeErrorHandler​(boolean bridgeErrorHandler)
        Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: boolean type. Default: false Group: consumer
      • bridgeErrorHandler

        default QuartzEndpointBuilderFactory.QuartzEndpointBuilder bridgeErrorHandler​(String bridgeErrorHandler)
        Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to a boolean type. Default: false Group: consumer
      • 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: boolean type. Default: true Group: consumer
      • deleteJob

        default QuartzEndpointBuilderFactory.QuartzEndpointBuilder deleteJob​(String 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 boolean type. Default: true Group: consumer
      • 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: boolean type. Default: false Group: consumer
      • 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: boolean type. Default: false Group: consumer
      • pauseJob

        default QuartzEndpointBuilderFactory.QuartzEndpointBuilder pauseJob​(String 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 boolean type. Default: false Group: consumer
      • 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: boolean type. Default: false Group: consumer
      • 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 boolean type. Default: false Group: consumer
      • stateful

        default QuartzEndpointBuilderFactory.QuartzEndpointBuilder stateful​(boolean stateful)
        Uses a Quartz PersistJobDataAfterExecution and DisallowConcurrentExecution instead of the default job. The option is a: boolean type. Default: false Group: consumer
      • stateful

        default QuartzEndpointBuilderFactory.QuartzEndpointBuilder stateful​(String stateful)
        Uses a Quartz PersistJobDataAfterExecution and DisallowConcurrentExecution instead of the default job. The option will be converted to a boolean type. Default: false Group: consumer
      • 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. The option is a: long type. Default: 500 Group: scheduler
      • 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. The option will be converted to a long type. Default: 500 Group: scheduler