Interface ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder
- Enclosing interface:
- ZooKeeperEndpointBuilderFactory
public static interface ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the ZooKeeper component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ZooKeeperEndpointBuilderFactory.AdvancedZooKeeperEndpointConsumerBuilder
advanced()
default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder
backoff(long backoff)
The time interval to backoff for after an error before retrying.default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder
backoff(String backoff)
The time interval to backoff for after an error before retrying.default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder
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 ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder
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 ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder
listChildren(boolean listChildren)
Whether the children of the node should be listed.default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder
listChildren(String listChildren)
Whether the children of the node should be listed.default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder
repeat(boolean repeat)
Should changes to the znode be 'watched' and repeatedly processed.default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder
repeat(String repeat)
Should changes to the znode be 'watched' and repeatedly processed.default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder
sendEmptyMessageOnDelete(boolean sendEmptyMessageOnDelete)
Upon the delete of a znode, should an empty message be send to the consumer.default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder
sendEmptyMessageOnDelete(String sendEmptyMessageOnDelete)
Upon the delete of a znode, should an empty message be send to the consumer.default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder
timeout(int timeout)
The time interval to wait on connection before timing out.default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder
timeout(String timeout)
The time interval to wait on connection before timing out.
-
-
-
Method Detail
-
advanced
default ZooKeeperEndpointBuilderFactory.AdvancedZooKeeperEndpointConsumerBuilder advanced()
-
listChildren
default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder listChildren(boolean listChildren)
Whether the children of the node should be listed. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
listChildren
- the value to set- Returns:
- the dsl builder
-
listChildren
default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder listChildren(String listChildren)
Whether the children of the node should be listed. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
listChildren
- the value to set- Returns:
- the dsl builder
-
timeout
default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder timeout(int timeout)
The time interval to wait on connection before timing out. The option is a: <code>int</code> type. Default: 5000 Group: common- Parameters:
timeout
- the value to set- Returns:
- the dsl builder
-
timeout
default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder timeout(String timeout)
The time interval to wait on connection before timing out. The option will be converted to a <code>int</code> type. Default: 5000 Group: common- Parameters:
timeout
- the value to set- Returns:
- the dsl builder
-
backoff
default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder backoff(long backoff)
The time interval to backoff for after an error before retrying. The option is a: <code>long</code> type. Default: 5000 Group: consumer- Parameters:
backoff
- the value to set- Returns:
- the dsl builder
-
backoff
default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder backoff(String backoff)
The time interval to backoff for after an error before retrying. The option will be converted to a <code>long</code> type. Default: 5000 Group: consumer- Parameters:
backoff
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder 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 ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder 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
-
repeat
default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder repeat(boolean repeat)
Should changes to the znode be 'watched' and repeatedly processed. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
repeat
- the value to set- Returns:
- the dsl builder
-
repeat
default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder repeat(String repeat)
Should changes to the znode be 'watched' and repeatedly processed. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
repeat
- the value to set- Returns:
- the dsl builder
-
sendEmptyMessageOnDelete
default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder sendEmptyMessageOnDelete(boolean sendEmptyMessageOnDelete)
Upon the delete of a znode, should an empty message be send to the consumer. The option is a: <code>boolean</code> type. Default: true Group: consumer- Parameters:
sendEmptyMessageOnDelete
- the value to set- Returns:
- the dsl builder
-
sendEmptyMessageOnDelete
default ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointConsumerBuilder sendEmptyMessageOnDelete(String sendEmptyMessageOnDelete)
Upon the delete of a znode, should an empty message be send to the consumer. The option will be converted to a <code>boolean</code> type. Default: true Group: consumer- Parameters:
sendEmptyMessageOnDelete
- the value to set- Returns:
- the dsl builder
-
-