Interface InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointBuilder
- Enclosing interface:
- InfinispanEmbeddedEndpointBuilderFactory
public static interface InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilderBuilder for endpoint consumers for the Infinispan Embedded component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default InfinispanEmbeddedEndpointBuilderFactory.AdvancedInfinispanEmbeddedEndpointConsumerBuilderadvanced()default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilderbridgeErrorHandler(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 InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilderbridgeErrorHandler(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 InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilderclusteredListener(boolean clusteredListener)If true, the listener will be installed for the entire cluster.default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilderclusteredListener(String clusteredListener)If true, the listener will be installed for the entire cluster.default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuildercustomListener(String customListener)Returns the custom listener in use, if provided.default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuildercustomListener(org.apache.camel.component.infinispan.embedded.InfinispanEmbeddedCustomListener customListener)Returns the custom listener in use, if provided.default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuildereventTypes(String eventTypes)Specifies the set of event types to register by the consumer.Multiple event can be separated by comma.default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilderqueryBuilder(String queryBuilder)Specifies the query builder.default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilderqueryBuilder(org.apache.camel.component.infinispan.InfinispanQueryBuilder queryBuilder)Specifies the query builder.default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuildersync(boolean sync)If true, the consumer will receive notifications synchronously.default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuildersync(String sync)If true, the consumer will receive notifications synchronously.
-
-
-
Method Detail
-
advanced
default InfinispanEmbeddedEndpointBuilderFactory.AdvancedInfinispanEmbeddedEndpointConsumerBuilder advanced()
-
queryBuilder
default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilder queryBuilder(org.apache.camel.component.infinispan.InfinispanQueryBuilder queryBuilder)
Specifies the query builder. The option is a: <code>org.apache.camel.component.infinispan.InfinispanQueryBuilder</code> type. Group: common- Parameters:
queryBuilder- the value to set- Returns:
- the dsl builder
-
queryBuilder
default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilder queryBuilder(String queryBuilder)
Specifies the query builder. The option will be converted to a <code>org.apache.camel.component.infinispan.InfinispanQueryBuilder</code> type. Group: common- Parameters:
queryBuilder- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilder 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 InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilder 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
-
clusteredListener
default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilder clusteredListener(boolean clusteredListener)
If true, the listener will be installed for the entire cluster. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
clusteredListener- the value to set- Returns:
- the dsl builder
-
clusteredListener
default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilder clusteredListener(String clusteredListener)
If true, the listener will be installed for the entire cluster. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
clusteredListener- the value to set- Returns:
- the dsl builder
-
customListener
default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilder customListener(org.apache.camel.component.infinispan.embedded.InfinispanEmbeddedCustomListener customListener)
Returns the custom listener in use, if provided. The option is a: <code>org.apache.camel.component.infinispan.embedded.InfinispanEmbeddedCustomListener</code> type. Group: consumer- Parameters:
customListener- the value to set- Returns:
- the dsl builder
-
customListener
default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilder customListener(String customListener)
Returns the custom listener in use, if provided. The option will be converted to a <code>org.apache.camel.component.infinispan.embedded.InfinispanEmbeddedCustomListener</code> type. Group: consumer- Parameters:
customListener- the value to set- Returns:
- the dsl builder
-
eventTypes
default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilder eventTypes(String eventTypes)
Specifies the set of event types to register by the consumer.Multiple event can be separated by comma. The possible event types are: CACHE_ENTRY_ACTIVATED, CACHE_ENTRY_PASSIVATED, CACHE_ENTRY_VISITED, CACHE_ENTRY_LOADED, CACHE_ENTRY_EVICTED, CACHE_ENTRY_CREATED, CACHE_ENTRY_REMOVED, CACHE_ENTRY_MODIFIED, TRANSACTION_COMPLETED, TRANSACTION_REGISTERED, CACHE_ENTRY_INVALIDATED, CACHE_ENTRY_EXPIRED, DATA_REHASHED, TOPOLOGY_CHANGED, PARTITION_STATUS_CHANGED, PERSISTENCE_AVAILABILITY_CHANGED. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
eventTypes- the value to set- Returns:
- the dsl builder
-
sync
default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilder sync(boolean sync)
If true, the consumer will receive notifications synchronously. The option is a: <code>boolean</code> type. Default: true Group: consumer- Parameters:
sync- the value to set- Returns:
- the dsl builder
-
sync
default InfinispanEmbeddedEndpointBuilderFactory.InfinispanEmbeddedEndpointConsumerBuilder sync(String sync)
If true, the consumer will receive notifications synchronously. The option will be converted to a <code>boolean</code> type. Default: true Group: consumer- Parameters:
sync- the value to set- Returns:
- the dsl builder
-
-