Interface QuartzComponentBuilderFactory.QuartzComponentBuilder

    • Method Detail

      • bridgeErrorHandler

        default QuartzComponentBuilderFactory.QuartzComponentBuilder 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
      • enableJmx

        default QuartzComponentBuilderFactory.QuartzComponentBuilder enableJmx​(boolean enableJmx)
        Whether to enable Quartz JMX which allows to manage the Quartz scheduler from JMX. This options is default true. The option is a: boolean type. Default: true Group: consumer
      • prefixInstanceName

        default QuartzComponentBuilderFactory.QuartzComponentBuilder prefixInstanceName​(boolean prefixInstanceName)
        Whether to prefix the Quartz Scheduler instance name with the CamelContext name. This is enabled by default, to let each CamelContext use its own Quartz scheduler instance by default. You can set this option to false to reuse Quartz scheduler instances between multiple CamelContext's. The option is a: boolean type. Default: true Group: consumer
      • prefixJobNameWithEndpointId

        default QuartzComponentBuilderFactory.QuartzComponentBuilder prefixJobNameWithEndpointId​(boolean prefixJobNameWithEndpointId)
        Whether to prefix the quartz job with the endpoint id. This option is default false. The option is a: boolean type. Default: false Group: consumer
      • autowiredEnabled

        default QuartzComponentBuilderFactory.QuartzComponentBuilder autowiredEnabled​(boolean autowiredEnabled)
        Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: boolean type. Default: true Group: advanced
      • scheduler

        default QuartzComponentBuilderFactory.QuartzComponentBuilder scheduler​(org.quartz.Scheduler scheduler)
        To use the custom configured Quartz scheduler, instead of creating a new Scheduler. The option is a: org.quartz.Scheduler type. Group: advanced
      • schedulerFactory

        default QuartzComponentBuilderFactory.QuartzComponentBuilder schedulerFactory​(org.quartz.SchedulerFactory schedulerFactory)
        To use the custom SchedulerFactory which is used to create the Scheduler. The option is a: org.quartz.SchedulerFactory type. Group: advanced
      • autoStartScheduler

        default QuartzComponentBuilderFactory.QuartzComponentBuilder autoStartScheduler​(boolean autoStartScheduler)
        Whether or not the scheduler should be auto started. This options is default true. The option is a: boolean type. Default: true Group: scheduler
      • interruptJobsOnShutdown

        default QuartzComponentBuilderFactory.QuartzComponentBuilder interruptJobsOnShutdown​(boolean interruptJobsOnShutdown)
        Whether to interrupt jobs on shutdown which forces the scheduler to shutdown quicker and attempt to interrupt any running jobs. If this is enabled then any running jobs can fail due to being interrupted. The option is a: boolean type. Default: false Group: scheduler