blob: ddccaf4da134f62d2c04d5c6075ecf98273fc670 [file] [log] [blame]
{"component":{"kind":"component","name":"quartz","title":"Quartz","description":"Schedule sending of messages using the Quartz 2.x scheduler.","deprecated":false,"firstVersion":"2.12.0","label":"scheduling","javaType":"org.apache.camel.component.quartz.QuartzComponent","supportLevel":"Stable","groupId":"org.apache.camel","artifactId":"camel-quartz","version":"3.18.1","scheme":"quartz","extendsScheme":"","syntax":"quartz:groupName/triggerName","async":false,"api":false,"consumerOnly":true,"producerOnly":false,"lenientProperties":false},"properties":{"groupName":{"kind":"path","displayName":"Group Name","group":"consumer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"autowired":false,"secret":false,"defaultValue":"Camel","description":"The quartz group name to use. The combination of group name and trigger name should be unique."},"triggerName":{"kind":"path","displayName":"Trigger Name","group":"consumer","label":"","required":true,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"The quartz trigger name to use. The combination of group name and trigger name should be unique."},"cron":{"kind":"parameter","displayName":"Cron","group":"consumer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"autowired":false,"secret":false,"description":"Specifies a cron expression to define when to trigger."},"deleteJob":{"kind":"parameter","displayName":"Delete Job","group":"consumer","label":"","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"autowired":false,"secret":false,"defaultValue":true,"description":"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."},"durableJob":{"kind":"parameter","displayName":"Durable Job","group":"consumer","label":"","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"autowired":false,"secret":false,"defaultValue":false,"description":"Whether or not the job should remain stored after it is orphaned (no triggers point to it)."},"pauseJob":{"kind":"parameter","displayName":"Pause Job","group":"consumer","label":"","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"autowired":false,"secret":false,"defaultValue":false,"description":"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."},"recoverableJob":{"kind":"parameter","displayName":"Recoverable Job","group":"consumer","label":"","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"autowired":false,"secret":false,"defaultValue":false,"description":"Instructs the scheduler whether or not the job should be re-executed if a 'recovery' or 'fail-over' situation is encountered."},"stateful":{"kind":"parameter","displayName":"Stateful","group":"consumer","label":"","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"autowired":false,"secret":false,"defaultValue":false,"description":"Uses a Quartz PersistJobDataAfterExecution and DisallowConcurrentExecution instead of the default job."},"bridgeErrorHandler":{"kind":"parameter","displayName":"Bridge Error Handler","group":"consumer (advanced)","label":"consumer,advanced","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"autowired":false,"secret":false,"defaultValue":false,"description":"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."},"exceptionHandler":{"kind":"parameter","displayName":"Exception Handler","group":"consumer (advanced)","label":"consumer,advanced","required":false,"type":"object","javaType":"org.apache.camel.spi.ExceptionHandler","optionalPrefix":"consumer.","deprecated":false,"autowired":false,"secret":false,"description":"To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored."},"exchangePattern":{"kind":"parameter","displayName":"Exchange Pattern","group":"consumer (advanced)","label":"consumer,advanced","required":false,"type":"object","javaType":"org.apache.camel.ExchangePattern","enum":["InOnly","InOut","InOptionalOut"],"deprecated":false,"autowired":false,"secret":false,"description":"Sets the exchange pattern when the consumer creates an exchange."},"customCalendar":{"kind":"parameter","displayName":"Custom Calendar","group":"advanced","label":"advanced","required":false,"type":"object","javaType":"org.quartz.Calendar","deprecated":false,"autowired":false,"secret":false,"description":"Specifies a custom calendar to avoid specific range of date"},"ignoreExpiredNextFireTime":{"kind":"parameter","displayName":"Ignore Expired Next Fire Time","group":"advanced","label":"advanced","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"autowired":false,"secret":false,"defaultValue":false,"description":"Whether to ignore quartz cannot schedule a trigger because the trigger will never fire in the future. This can happen when using a cron trigger that are configured to only run in the past. By default, Quartz will fail to schedule the trigger and therefore fail to start the Camel route. You can set this to true which then logs a WARN and then ignore the problem, meaning that the route will never fire in the future."},"jobParameters":{"kind":"parameter","displayName":"Job Parameters","group":"advanced","label":"advanced","required":false,"type":"object","javaType":"java.util.Map<java.lang.String, java.lang.Object>","prefix":"job.","multiValue":true,"deprecated":false,"autowired":false,"secret":false,"description":"To configure additional options on the job."},"prefixJobNameWithEndpointId":{"kind":"parameter","displayName":"Prefix Job Name With Endpoint Id","group":"advanced","label":"advanced","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"autowired":false,"secret":false,"defaultValue":false,"description":"Whether the job name should be prefixed with endpoint id"},"triggerParameters":{"kind":"parameter","displayName":"Trigger Parameters","group":"advanced","label":"advanced","required":false,"type":"object","javaType":"java.util.Map<java.lang.String, java.lang.Object>","prefix":"trigger.","multiValue":true,"deprecated":false,"autowired":false,"secret":false,"description":"To configure additional options on the trigger. The parameter timeZone is supported if the cron option is present. Otherwise the parameters repeatInterval and repeatCount are supported. Note: When using repeatInterval values of 1000 or less, the first few events after starting the camel context may be fired more rapidly than expected."},"usingFixedCamelContextName":{"kind":"parameter","displayName":"Using Fixed Camel Context Name","group":"advanced","label":"advanced","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"autowired":false,"secret":false,"defaultValue":false,"description":"If it is true, JobDataMap uses the CamelContext name directly to reference the CamelContext, if it is false, JobDataMap uses use the CamelContext management name which could be changed during the deploy time."},"autoStartScheduler":{"kind":"parameter","displayName":"Auto Start Scheduler","group":"scheduler","label":"scheduler","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"autowired":false,"secret":false,"defaultValue":true,"description":"Whether or not the scheduler should be auto started."},"triggerStartDelay":{"kind":"parameter","displayName":"Trigger Start Delay","group":"scheduler","label":"scheduler","required":false,"type":"duration","javaType":"long","deprecated":false,"autowired":false,"secret":false,"defaultValue":"500","description":"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."}}}