Interface JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
JGroupsEndpointBuilderFactory.JGroupsEndpointBuilder
- Enclosing interface:
- JGroupsEndpointBuilderFactory
public static interface JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the JGroups component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default JGroupsEndpointBuilderFactory.AdvancedJGroupsEndpointConsumerBuilder
advanced()
default JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder
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 JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder
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 JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder
channelProperties(String channelProperties)
Specifies configuration properties of the JChannel used by the endpoint.default JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder
enableViewMessages(boolean enableViewMessages)
If set to true, the consumer endpoint will receive org.jgroups.View messages as well (not only org.jgroups.Message instances).default JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder
enableViewMessages(String enableViewMessages)
If set to true, the consumer endpoint will receive org.jgroups.View messages as well (not only org.jgroups.Message instances).
-
-
-
Method Detail
-
advanced
default JGroupsEndpointBuilderFactory.AdvancedJGroupsEndpointConsumerBuilder advanced()
-
channelProperties
default JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder channelProperties(String channelProperties)
Specifies configuration properties of the JChannel used by the endpoint. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
channelProperties
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder 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 JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder 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
-
enableViewMessages
default JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder enableViewMessages(boolean enableViewMessages)
If set to true, the consumer endpoint will receive org.jgroups.View messages as well (not only org.jgroups.Message instances). By default only regular messages are consumed by the endpoint. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
enableViewMessages
- the value to set- Returns:
- the dsl builder
-
enableViewMessages
default JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder enableViewMessages(String enableViewMessages)
If set to true, the consumer endpoint will receive org.jgroups.View messages as well (not only org.jgroups.Message instances). By default only regular messages are consumed by the endpoint. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
enableViewMessages
- the value to set- Returns:
- the dsl builder
-
-