Interface InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
InfinispanEndpointBuilderFactory.InfinispanEndpointBuilder
- Enclosing interface:
- InfinispanEndpointBuilderFactory
public static interface InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Infinispan component.
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
advanced()
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
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 InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
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 InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
clusteredListener(boolean clusteredListener)
If true, the listener will be installed for the entire cluster.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
clusteredListener(String clusteredListener)
If true, the listener will be installed for the entire cluster.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
command(String command)
Deprecated.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
customListener(Object customListener)
Returns the custom listener in use, if provided.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
customListener(String customListener)
Returns the custom listener in use, if provided.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
eventTypes(String eventTypes)
Specifies the set of event types to register by the consumer.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
eventTypes(Set<String> eventTypes)
Specifies the set of event types to register by the consumer.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
hosts(String hosts)
Specifies the host of the cache on Infinispan instance.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
password(String password)
Define the password to access the infinispan instance.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
queryBuilder(Object queryBuilder)
Specifies the query builder.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
queryBuilder(String queryBuilder)
Specifies the query builder.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
saslMechanism(String saslMechanism)
Define the SASL Mechanism to access the infinispan instance.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
secure(boolean secure)
Define if we are connecting to a secured Infinispan instance.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
secure(String secure)
Define if we are connecting to a secured Infinispan instance.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
securityRealm(String securityRealm)
Define the security realm to access the infinispan instance.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
securityServerName(String securityServerName)
Define the security server name to access the infinispan instance.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
sync(boolean sync)
If true, the consumer will receive notifications synchronously.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
sync(String sync)
If true, the consumer will receive notifications synchronously.default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
username(String username)
Define the username to access the infinispan instance.
-
-
-
Method Detail
-
advanced
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder advanced()
-
hosts
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder hosts(String hosts)
Specifies the host of the cache on Infinispan instance. The option is a:java.lang.String
type. Group: common
-
queryBuilder
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder queryBuilder(Object queryBuilder)
Specifies the query builder. The option is a:org.apache.camel.component.infinispan.InfinispanQueryBuilder
type. Group: common
-
queryBuilder
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder queryBuilder(String queryBuilder)
Specifies the query builder. The option will be converted to aorg.apache.camel.component.infinispan.InfinispanQueryBuilder
type. Group: common
-
secure
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder secure(boolean secure)
Define if we are connecting to a secured Infinispan instance. The option is a:boolean
type. Default: false Group: common
-
secure
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder secure(String secure)
Define if we are connecting to a secured Infinispan instance. The option will be converted to aboolean
type. Default: false Group: common
-
bridgeErrorHandler
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder 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:boolean
type. Default: false Group: consumer
-
bridgeErrorHandler
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder 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 aboolean
type. Default: false Group: consumer
-
clusteredListener
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder clusteredListener(boolean clusteredListener)
If true, the listener will be installed for the entire cluster. The option is a:boolean
type. Default: false Group: consumer
-
clusteredListener
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder clusteredListener(String clusteredListener)
If true, the listener will be installed for the entire cluster. The option will be converted to aboolean
type. Default: false Group: consumer
-
command
@Deprecated default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder command(String command)
Deprecated.The operation to perform. The option is a:java.lang.String
type. Default: PUT Group: consumer
-
customListener
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder customListener(Object customListener)
Returns the custom listener in use, if provided. The option is a:org.apache.camel.component.infinispan.InfinispanCustomListener
type. Group: consumer
-
customListener
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder customListener(String customListener)
Returns the custom listener in use, if provided. The option will be converted to aorg.apache.camel.component.infinispan.InfinispanCustomListener
type. Group: consumer
-
eventTypes
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder eventTypes(Set<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, DATA_REHASHED, TOPOLOGY_CHANGED, PARTITION_STATUS_CHANGED. The option is a:java.util.Set<java.lang.String>
type. Group: consumer
-
eventTypes
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder 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, DATA_REHASHED, TOPOLOGY_CHANGED, PARTITION_STATUS_CHANGED. The option will be converted to ajava.util.Set<java.lang.String>
type. Group: consumer
-
sync
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder sync(boolean sync)
If true, the consumer will receive notifications synchronously. The option is a:boolean
type. Default: true Group: consumer
-
sync
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder sync(String sync)
If true, the consumer will receive notifications synchronously. The option will be converted to aboolean
type. Default: true Group: consumer
-
password
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder password(String password)
Define the password to access the infinispan instance. The option is a:java.lang.String
type. Group: security
-
saslMechanism
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder saslMechanism(String saslMechanism)
Define the SASL Mechanism to access the infinispan instance. The option is a:java.lang.String
type. Group: security
-
securityRealm
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder securityRealm(String securityRealm)
Define the security realm to access the infinispan instance. The option is a:java.lang.String
type. Group: security
-
securityServerName
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder securityServerName(String securityServerName)
Define the security server name to access the infinispan instance. The option is a:java.lang.String
type. Group: security
-
username
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder username(String username)
Define the username to access the infinispan instance. The option is a:java.lang.String
type. Group: security
-
-