Interface AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder
-
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.atomix.client.queue.AtomixQueueComponent>
- All Known Implementing Classes:
AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilderImpl
- Enclosing interface:
- AtomixQueueComponentBuilderFactory
public static interface AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder extends ComponentBuilder<org.apache.camel.component.atomix.client.queue.AtomixQueueComponent>
Builder for the Atomix Queue component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilderatomix(io.atomix.Atomix atomix)The Atomix instance to use.default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilderbasicPropertyBinding(boolean basicPropertyBinding)Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilderbridgeErrorHandler(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 AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilderconfiguration(org.apache.camel.component.atomix.client.queue.AtomixQueueConfiguration configuration)The shared component configuration.default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilderconfigurationUri(String configurationUri)The path to the AtomixClient configuration.default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilderdefaultAction(org.apache.camel.component.atomix.client.queue.AtomixQueue.Action defaultAction)The default action.default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilderdefaultResourceConfig(Properties defaultResourceConfig)The cluster wide default resource configuration.default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilderdefaultResourceOptions(Properties defaultResourceOptions)The local default resource options.default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilderephemeral(boolean ephemeral)Sets if the local member should join groups as PersistentMember or not.default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilderlazyStartProducer(boolean lazyStartProducer)Whether the producer should be started lazy (on the first message).default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuildernodes(List<io.atomix.catalyst.transport.Address> nodes)The nodes the AtomixClient should connect to.default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilderreadConsistency(io.atomix.resource.ReadConsistency readConsistency)The read consistency level.default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilderresourceConfigs(Map<String,Properties> resourceConfigs)Cluster wide resources configuration.default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilderresourceOptions(Map<String,Properties> resourceOptions)Local resources configurations.default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilderresultHeader(String resultHeader)The header that wil carry the result.default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuildertransportClassName(String transportClassName)The class name (fqn) of the Atomix transport.-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
atomix
default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder atomix(io.atomix.Atomix atomix)
The Atomix instance to use. The option is a:io.atomix.Atomixtype. Group: common
-
configuration
default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder configuration(org.apache.camel.component.atomix.client.queue.AtomixQueueConfiguration configuration)
The shared component configuration. The option is a:org.apache.camel.component.atomix.client.queue.AtomixQueueConfigurationtype. Group: common
-
configurationUri
default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder configurationUri(String configurationUri)
The path to the AtomixClient configuration. The option is a:java.lang.Stringtype. Group: common
-
defaultAction
default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder defaultAction(org.apache.camel.component.atomix.client.queue.AtomixQueue.Action defaultAction)
The default action. The option is a:org.apache.camel.component.atomix.client.queue.AtomixQueue.Actiontype. Default: ADD Group: common
-
nodes
default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder nodes(List<io.atomix.catalyst.transport.Address> nodes)
The nodes the AtomixClient should connect to. The option is a:java.util.Listtype. Group: common
-
resultHeader
default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder resultHeader(String resultHeader)
The header that wil carry the result. The option is a:java.lang.Stringtype. Group: common
-
transportClassName
default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder transportClassName(String transportClassName)
The class name (fqn) of the Atomix transport. The option is a:java.lang.Stringtype. Default: io.atomix.catalyst.transport.netty.NettyTransport Group: common
-
bridgeErrorHandler
default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder 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:booleantype. Default: false Group: consumer
-
lazyStartProducer
default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:booleantype. Default: false Group: producer
-
basicPropertyBinding
default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. The option is a:booleantype. Default: false Group: advanced
-
defaultResourceConfig
default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder defaultResourceConfig(Properties defaultResourceConfig)
The cluster wide default resource configuration. The option is a:java.util.Propertiestype. Group: advanced
-
defaultResourceOptions
default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder defaultResourceOptions(Properties defaultResourceOptions)
The local default resource options. The option is a:java.util.Propertiestype. Group: advanced
-
ephemeral
default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder ephemeral(boolean ephemeral)
Sets if the local member should join groups as PersistentMember or not. If set to ephemeral the local member will receive an auto generated ID thus the local one is ignored. The option is a:booleantype. Default: false Group: advanced
-
readConsistency
default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder readConsistency(io.atomix.resource.ReadConsistency readConsistency)
The read consistency level. The option is a:io.atomix.resource.ReadConsistencytype. Group: advanced
-
resourceConfigs
default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder resourceConfigs(Map<String,Properties> resourceConfigs)
Cluster wide resources configuration. The option is a:java.util.Maptype. Group: advanced
-
resourceOptions
default AtomixQueueComponentBuilderFactory.AtomixQueueComponentBuilder resourceOptions(Map<String,Properties> resourceOptions)
Local resources configurations. The option is a:java.util.Maptype. Group: advanced
-
-