Interface AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointBuilder
- Enclosing interface:
- AtomixMessagingEndpointBuilderFactory
public static interface AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Atomix Messaging component.
-
-
Method Summary
-
-
-
Method Detail
-
advanced
default AtomixMessagingEndpointBuilderFactory.AdvancedAtomixMessagingEndpointConsumerBuilder advanced()
-
atomix
default AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder atomix(Object atomix)
The Atomix instance to use. The option is a: <code>io.atomix.AtomixClient</code> type. Group: common- Parameters:
atomix
- the value to set- Returns:
- the dsl builder
-
atomix
default AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder atomix(String atomix)
The Atomix instance to use. The option will be converted to a <code>io.atomix.AtomixClient</code> type. Group: common- Parameters:
atomix
- the value to set- Returns:
- the dsl builder
-
broadcastType
default AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder broadcastType(AtomixMessagingEndpointBuilderFactory.BroadcastType broadcastType)
The broadcast type. The option is a: <code>org.apache.camel.component.atomix.client.messaging.AtomixMessaging$BroadcastType</code> type. Default: ALL Group: common- Parameters:
broadcastType
- the value to set- Returns:
- the dsl builder
-
broadcastType
default AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder broadcastType(String broadcastType)
The broadcast type. The option will be converted to a <code>org.apache.camel.component.atomix.client.messaging.AtomixMessaging$BroadcastType</code> type. Default: ALL Group: common- Parameters:
broadcastType
- the value to set- Returns:
- the dsl builder
-
channelName
default AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder channelName(String channelName)
The messaging channel name. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
channelName
- the value to set- Returns:
- the dsl builder
-
configurationUri
default AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder configurationUri(String configurationUri)
The Atomix configuration uri. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
configurationUri
- the value to set- Returns:
- the dsl builder
-
defaultAction
default AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder defaultAction(AtomixMessagingEndpointBuilderFactory.Action defaultAction)
The default action. The option is a: <code>org.apache.camel.component.atomix.client.messaging.AtomixMessaging$Action</code> type. Default: DIRECT Group: common- Parameters:
defaultAction
- the value to set- Returns:
- the dsl builder
-
defaultAction
default AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder defaultAction(String defaultAction)
The default action. The option will be converted to a <code>org.apache.camel.component.atomix.client.messaging.AtomixMessaging$Action</code> type. Default: DIRECT Group: common- Parameters:
defaultAction
- the value to set- Returns:
- the dsl builder
-
memberName
default AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder memberName(String memberName)
The Atomix Group member name. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
memberName
- the value to set- Returns:
- the dsl builder
-
nodes
default AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder nodes(List<Object> nodes)
The address of the nodes composing the cluster. The option is a: <code>java.util.List<io.atomix.catalyst.transport.Address></code> type. Group: common- Parameters:
nodes
- the value to set- Returns:
- the dsl builder
-
nodes
default AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder nodes(String nodes)
The address of the nodes composing the cluster. The option will be converted to a <code>java.util.List<io.atomix.catalyst.transport.Address></code> type. Group: common- Parameters:
nodes
- the value to set- Returns:
- the dsl builder
-
resultHeader
default AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder resultHeader(String resultHeader)
The header that wil carry the result. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
resultHeader
- the value to set- Returns:
- the dsl builder
-
transportClassName
default AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder transportClassName(String transportClassName)
The class name (fqn) of the Atomix transport. The option is a: <code>java.lang.String</code> type. Default: io.atomix.catalyst.transport.netty.NettyTransport Group: common- Parameters:
transportClassName
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder 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 AtomixMessagingEndpointBuilderFactory.AtomixMessagingEndpointConsumerBuilder 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
-
-