public static interface ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder extends ComponentBuilder<org.apache.camel.component.zookeeper.ZooKeeperComponent>
| Modifier and Type | Method and Description |
|---|---|
default ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder |
backoff(long backoff)
The time interval to backoff for after an error before retrying.
|
default ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
default ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder |
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 ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder |
configuration(org.apache.camel.component.zookeeper.ZooKeeperConfiguration configuration)
To use a shared ZooKeeperConfiguration.
|
default ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder |
create(boolean create)
Should the endpoint create the node if it does not currently exist.
|
default ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder |
createMode(String createMode)
The create mode that should be used for the newly created node.
|
default ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder |
listChildren(boolean listChildren)
Whether the children of the node should be listed.
|
default ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder |
repeat(boolean repeat)
Should changes to the znode be 'watched' and repeatedly processed.
|
default ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder |
sendEmptyMessageOnDelete(boolean sendEmptyMessageOnDelete)
Upon the delete of a znode, should an empty message be send to the
consumer.
|
default ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder |
timeout(int timeout)
The time interval to wait on connection before timing out.
|
build, build, doSetProperty, registerdefault ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder listChildren(boolean listChildren)
boolean type.
Default: false
Group: commondefault ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder timeout(int timeout)
int type.
Default: 5000
Group: commondefault ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder backoff(long backoff)
long type.
Default: 5000
Group: consumerdefault ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder repeat(boolean repeat)
boolean type.
Default: false
Group: consumerdefault ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder sendEmptyMessageOnDelete(boolean sendEmptyMessageOnDelete)
boolean type.
Default: true
Group: consumerdefault ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder create(boolean create)
boolean type.
Default: false
Group: producerdefault ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder createMode(String createMode)
java.lang.String type.
Default: EPHEMERAL
Group: producerdefault ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advanceddefault ZookeeperComponentBuilderFactory.ZookeeperComponentBuilder configuration(org.apache.camel.component.zookeeper.ZooKeeperConfiguration configuration)
org.apache.camel.component.zookeeper.ZooKeeperConfiguration type.
Group: advancedApache Camel