Interface QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- Enclosing interface:
- QuartzEndpointBuilderFactory
public static interface QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Advanced builder for endpoint for the Quartz component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default QuartzEndpointBuilderFactory.QuartzEndpointBuilder
basic()
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
customCalendar(Object customCalendar)
Specifies a custom calendar to avoid specific range of date.default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
customCalendar(String customCalendar)
Specifies a custom calendar to avoid specific range of date.default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler.default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler.default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
jobParameters(String key, Object value)
To configure additional options on the job.default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
jobParameters(Map values)
To configure additional options on the job.default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
prefixJobNameWithEndpointId(boolean prefixJobNameWithEndpointId)
Whether the job name should be prefixed with endpoint id.default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
prefixJobNameWithEndpointId(String prefixJobNameWithEndpointId)
Whether the job name should be prefixed with endpoint id.default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
triggerParameters(String key, Object value)
To configure additional options on the trigger.default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
triggerParameters(Map values)
To configure additional options on the trigger.default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
usingFixedCamelContextName(boolean usingFixedCamelContextName)
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.default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder
usingFixedCamelContextName(String usingFixedCamelContextName)
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.
-
-
-
Method Detail
-
basic
default QuartzEndpointBuilderFactory.QuartzEndpointBuilder basic()
-
exceptionHandler
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
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. The option is a:org.apache.camel.spi.ExceptionHandler
type. Group: consumer (advanced)
-
exceptionHandler
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder exceptionHandler(String exceptionHandler)
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. The option will be converted to aorg.apache.camel.spi.ExceptionHandler
type. Group: consumer (advanced)
-
exchangePattern
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option is a:org.apache.camel.ExchangePattern
type. Group: consumer (advanced)
-
exchangePattern
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option will be converted to aorg.apache.camel.ExchangePattern
type. Group: consumer (advanced)
-
customCalendar
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder customCalendar(Object customCalendar)
Specifies a custom calendar to avoid specific range of date. The option is a:org.quartz.Calendar
type. Group: advanced
-
customCalendar
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder customCalendar(String customCalendar)
Specifies a custom calendar to avoid specific range of date. The option will be converted to aorg.quartz.Calendar
type. Group: advanced
-
jobParameters
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder jobParameters(String key, Object value)
To configure additional options on the job. The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. The option is multivalued, and you can use the jobParameters(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced
-
jobParameters
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder jobParameters(Map values)
To configure additional options on the job. The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. The option is multivalued, and you can use the jobParameters(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced
-
prefixJobNameWithEndpointId
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder prefixJobNameWithEndpointId(boolean prefixJobNameWithEndpointId)
Whether the job name should be prefixed with endpoint id. The option is a:boolean
type. Default: false Group: advanced
-
prefixJobNameWithEndpointId
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder prefixJobNameWithEndpointId(String prefixJobNameWithEndpointId)
Whether the job name should be prefixed with endpoint id. The option will be converted to aboolean
type. Default: false Group: advanced
-
synchronous
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option is a:boolean
type. Default: false Group: advanced
-
synchronous
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option will be converted to aboolean
type. Default: false Group: advanced
-
triggerParameters
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder triggerParameters(String key, Object value)
To configure additional options on the trigger. The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. The option is multivalued, and you can use the triggerParameters(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced
-
triggerParameters
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder triggerParameters(Map values)
To configure additional options on the trigger. The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. The option is multivalued, and you can use the triggerParameters(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced
-
usingFixedCamelContextName
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder usingFixedCamelContextName(boolean usingFixedCamelContextName)
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. The option is a:boolean
type. Default: false Group: advanced
-
usingFixedCamelContextName
default QuartzEndpointBuilderFactory.AdvancedQuartzEndpointBuilder usingFixedCamelContextName(String usingFixedCamelContextName)
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. The option will be converted to aboolean
type. Default: false Group: advanced
-
-