Interface InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointBuilder
- Enclosing interface:
- InfinispanRemoteEndpointBuilderFactory
public static interface InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Infinispan component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default InfinispanRemoteEndpointBuilderFactory.AdvancedInfinispanRemoteEndpointConsumerBuilder
advanced()
default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder
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 InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder
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 InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder
customListener(Object customListener)
Returns the custom listener in use, if provided.default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder
customListener(String customListener)
Returns the custom listener in use, if provided.default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder
eventTypes(String eventTypes)
Specifies the set of event types to register by the consumer.Multiple event can be separated by comma.default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder
hosts(String hosts)
Specifies the host of the cache on Infinispan instance.default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder
password(String password)
Define the password to access the infinispan instance.default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder
queryBuilder(Object queryBuilder)
Specifies the query builder.default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder
queryBuilder(String queryBuilder)
Specifies the query builder.default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder
saslMechanism(String saslMechanism)
Define the SASL Mechanism to access the infinispan instance.default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder
secure(boolean secure)
Define if we are connecting to a secured Infinispan instance.default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder
secure(String secure)
Define if we are connecting to a secured Infinispan instance.default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder
securityRealm(String securityRealm)
Define the security realm to access the infinispan instance.default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder
securityServerName(String securityServerName)
Define the security server name to access the infinispan instance.default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder
username(String username)
Define the username to access the infinispan instance.
-
-
-
Method Detail
-
advanced
default InfinispanRemoteEndpointBuilderFactory.AdvancedInfinispanRemoteEndpointConsumerBuilder advanced()
-
hosts
default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder hosts(String hosts)
Specifies the host of the cache on Infinispan instance. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
hosts
- the value to set- Returns:
- the dsl builder
-
queryBuilder
default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder queryBuilder(Object 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 InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder 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
-
secure
default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder secure(boolean secure)
Define if we are connecting to a secured Infinispan instance. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
secure
- the value to set- Returns:
- the dsl builder
-
secure
default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder secure(String secure)
Define if we are connecting to a secured Infinispan instance. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
secure
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder 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 InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder 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
-
customListener
default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder customListener(Object customListener)
Returns the custom listener in use, if provided. The option is a: <code>org.apache.camel.component.infinispan.remote.InfinispanRemoteCustomListener</code> type. Group: consumer- Parameters:
customListener
- the value to set- Returns:
- the dsl builder
-
customListener
default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder customListener(String customListener)
Returns the custom listener in use, if provided. The option will be converted to a <code>org.apache.camel.component.infinispan.remote.InfinispanRemoteCustomListener</code> type. Group: consumer- Parameters:
customListener
- the value to set- Returns:
- the dsl builder
-
eventTypes
default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder 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: CLIENT_CACHE_ENTRY_CREATED, CLIENT_CACHE_ENTRY_MODIFIED, CLIENT_CACHE_ENTRY_REMOVED, CLIENT_CACHE_ENTRY_EXPIRED, CLIENT_CACHE_FAILOVER. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
eventTypes
- the value to set- Returns:
- the dsl builder
-
password
default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder password(String password)
Define the password to access the infinispan instance. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
saslMechanism
default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder saslMechanism(String saslMechanism)
Define the SASL Mechanism to access the infinispan instance. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
saslMechanism
- the value to set- Returns:
- the dsl builder
-
securityRealm
default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder securityRealm(String securityRealm)
Define the security realm to access the infinispan instance. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
securityRealm
- the value to set- Returns:
- the dsl builder
-
securityServerName
default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder securityServerName(String securityServerName)
Define the security server name to access the infinispan instance. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
securityServerName
- the value to set- Returns:
- the dsl builder
-
username
default InfinispanRemoteEndpointBuilderFactory.InfinispanRemoteEndpointConsumerBuilder username(String username)
Define the username to access the infinispan instance. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
username
- the value to set- Returns:
- the dsl builder
-
-