Interface SjmsBatchComponentBuilderFactory.SjmsBatchComponentBuilder
-
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.sjms.batch.SjmsBatchComponent>
- All Known Implementing Classes:
SjmsBatchComponentBuilderFactory.SjmsBatchComponentBuilderImpl
- Enclosing interface:
- SjmsBatchComponentBuilderFactory
public static interface SjmsBatchComponentBuilderFactory.SjmsBatchComponentBuilder extends ComponentBuilder<org.apache.camel.component.sjms.batch.SjmsBatchComponent>
Builder for the Simple JMS Batch component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SjmsBatchComponentBuilderFactory.SjmsBatchComponentBuilder
asyncStartListener(boolean asyncStartListener)
Whether to startup the consumer message listener asynchronously, when starting a route.default SjmsBatchComponentBuilderFactory.SjmsBatchComponentBuilder
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.default SjmsBatchComponentBuilderFactory.SjmsBatchComponentBuilder
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 SjmsBatchComponentBuilderFactory.SjmsBatchComponentBuilder
connectionFactory(javax.jms.ConnectionFactory connectionFactory)
A ConnectionFactory is required to enable the SjmsBatchComponent.default SjmsBatchComponentBuilderFactory.SjmsBatchComponentBuilder
headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message.default SjmsBatchComponentBuilderFactory.SjmsBatchComponentBuilder
recoveryInterval(int recoveryInterval)
Specifies the interval between recovery attempts, i.e.-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
bridgeErrorHandler
default SjmsBatchComponentBuilderFactory.SjmsBatchComponentBuilder 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
-
asyncStartListener
default SjmsBatchComponentBuilderFactory.SjmsBatchComponentBuilder asyncStartListener(boolean asyncStartListener)
Whether to startup the consumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is used, then beware that if the connection could not be established, then an exception is logged at WARN level, and the consumer will not be able to receive messages; You can then restart the route to retry. The option is a:boolean
type. Default: false Group: advanced
-
autowiredEnabled
default SjmsBatchComponentBuilderFactory.SjmsBatchComponentBuilder 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
-
connectionFactory
default SjmsBatchComponentBuilderFactory.SjmsBatchComponentBuilder connectionFactory(javax.jms.ConnectionFactory connectionFactory)
A ConnectionFactory is required to enable the SjmsBatchComponent. The option is a:javax.jms.ConnectionFactory
type. Group: advanced
-
recoveryInterval
default SjmsBatchComponentBuilderFactory.SjmsBatchComponentBuilder recoveryInterval(int recoveryInterval)
Specifies the interval between recovery attempts, i.e. when a connection is being refreshed, in milliseconds. The default is 5000 ms, that is, 5 seconds. The option is a:int
type. Default: 5000 Group: advanced
-
headerFilterStrategy
default SjmsBatchComponentBuilderFactory.SjmsBatchComponentBuilder headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message. The option is a:org.apache.camel.spi.HeaderFilterStrategy
type. Group: filter
-
-