Interface CronEndpointBuilderFactory.CronEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- Enclosing interface:
- CronEndpointBuilderFactory
public static interface CronEndpointBuilderFactory.CronEndpointBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint for the Cron component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default CronEndpointBuilderFactory.AdvancedCronEndpointBuilder
advanced()
default CronEndpointBuilderFactory.CronEndpointBuilder
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.default CronEndpointBuilderFactory.CronEndpointBuilder
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.default CronEndpointBuilderFactory.CronEndpointBuilder
schedule(String schedule)
A cron expression that will be used to generate events.
-
-
-
Method Detail
-
advanced
default CronEndpointBuilderFactory.AdvancedCronEndpointBuilder advanced()
-
bridgeErrorHandler
default CronEndpointBuilderFactory.CronEndpointBuilder 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: <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default CronEndpointBuilderFactory.CronEndpointBuilder 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 <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
schedule
default CronEndpointBuilderFactory.CronEndpointBuilder schedule(String schedule)
A cron expression that will be used to generate events. The option is a: <code>java.lang.String</code> type. Required: true Group: consumer- Parameters:
schedule
- the value to set- Returns:
- the dsl builder
-
-