Interface InfinispanComponentBuilderFactory.InfinispanComponentBuilder
-
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.infinispan.InfinispanComponent>
- All Known Implementing Classes:
InfinispanComponentBuilderFactory.InfinispanComponentBuilderImpl
- Enclosing interface:
- InfinispanComponentBuilderFactory
public static interface InfinispanComponentBuilderFactory.InfinispanComponentBuilder extends ComponentBuilder<org.apache.camel.component.infinispan.InfinispanComponent>
Builder for the Infinispan component.
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
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 InfinispanComponentBuilderFactory.InfinispanComponentBuilder
cacheContainer(org.infinispan.commons.api.BasicCacheContainer cacheContainer)
Specifies the cache Container to connect.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
cacheContainerConfiguration(Object cacheContainerConfiguration)
The CacheContainer configuration.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
clusteredListener(boolean clusteredListener)
If true, the listener will be installed for the entire cluster.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
command(String command)
Deprecated.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
configuration(org.apache.camel.component.infinispan.InfinispanConfiguration configuration)
Component configuration.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
configurationProperties(Map<String,String> configurationProperties)
Implementation specific properties for the CacheManager.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
configurationUri(String configurationUri)
An implementation specific URI for the CacheManager.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
customListener(org.apache.camel.component.infinispan.InfinispanCustomListener customListener)
Returns the custom listener in use, if provided.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
defaultValue(Object defaultValue)
Set a specific default value for some producer operations.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
eventTypes(String eventTypes)
Specifies the set of event types to register by the consumer.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
flags(String flags)
A comma separated list of Flag to be applied by default on each cache invocation, not applicable to remote caches.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
hosts(String hosts)
Specifies the host of the cache on Infinispan instance.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
key(Object key)
Set a specific key for producer operations.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
oldValue(Object oldValue)
Set a specific old value for some producer operations.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
operation(org.apache.camel.component.infinispan.InfinispanOperation operation)
The operation to perform.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
password(String password)
Define the password to access the infinispan instance.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
queryBuilder(org.apache.camel.component.infinispan.InfinispanQueryBuilder queryBuilder)
Specifies the query builder.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
remappingFunction(BiFunction remappingFunction)
Set a specific remappingFunction to use in a compute operation.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
resultHeader(Object resultHeader)
Store the operation result in a header instead of the message body.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
saslMechanism(String saslMechanism)
Define the SASL Mechanism to access the infinispan instance.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
secure(boolean secure)
Define if we are connecting to a secured Infinispan instance.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
securityRealm(String securityRealm)
Define the security realm to access the infinispan instance.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
securityServerName(String securityServerName)
Define the security server name to access the infinispan instance.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
sync(boolean sync)
If true, the consumer will receive notifications synchronously.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
username(String username)
Define the username to access the infinispan instance.default InfinispanComponentBuilderFactory.InfinispanComponentBuilder
value(Object value)
Set a specific value for producer operations.-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
configuration
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder configuration(org.apache.camel.component.infinispan.InfinispanConfiguration configuration)
Component configuration. The option is a:org.apache.camel.component.infinispan.InfinispanConfiguration
type. Group: common
-
hosts
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder hosts(String hosts)
Specifies the host of the cache on Infinispan instance. The option is a:java.lang.String
type. Group: common
-
queryBuilder
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder queryBuilder(org.apache.camel.component.infinispan.InfinispanQueryBuilder queryBuilder)
Specifies the query builder. The option is a:org.apache.camel.component.infinispan.InfinispanQueryBuilder
type. Group: common
-
secure
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder secure(boolean secure)
Define if we are connecting to a secured Infinispan instance. The option is a:boolean
type. Default: false Group: common
-
bridgeErrorHandler
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder 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
-
clusteredListener
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder clusteredListener(boolean clusteredListener)
If true, the listener will be installed for the entire cluster. The option is a:boolean
type. Default: false Group: consumer
-
command
@Deprecated default InfinispanComponentBuilderFactory.InfinispanComponentBuilder command(String command)
Deprecated.The operation to perform. The option is a:java.lang.String
type. Default: PUT Group: consumer
-
customListener
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder customListener(org.apache.camel.component.infinispan.InfinispanCustomListener customListener)
Returns the custom listener in use, if provided. The option is a:org.apache.camel.component.infinispan.InfinispanCustomListener
type. Group: consumer
-
eventTypes
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder 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 is a:java.lang.String
type. Group: consumer
-
sync
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder sync(boolean sync)
If true, the consumer will receive notifications synchronously. The option is a:boolean
type. Default: true Group: consumer
-
defaultValue
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder defaultValue(Object defaultValue)
Set a specific default value for some producer operations. The option is a:java.lang.Object
type. Group: producer
-
key
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder key(Object key)
Set a specific key for producer operations. The option is a:java.lang.Object
type. Group: producer
-
lazyStartProducer
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:boolean
type. Default: false Group: producer
-
oldValue
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder oldValue(Object oldValue)
Set a specific old value for some producer operations. The option is a:java.lang.Object
type. Group: producer
-
operation
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder operation(org.apache.camel.component.infinispan.InfinispanOperation operation)
The operation to perform. The option is a:org.apache.camel.component.infinispan.InfinispanOperation
type. Default: PUT Group: producer
-
value
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder value(Object value)
Set a specific value for producer operations. The option is a:java.lang.Object
type. Group: producer
-
password
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder password(String password)
Define the password to access the infinispan instance. The option is a:java.lang.String
type. Group: security
-
saslMechanism
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder saslMechanism(String saslMechanism)
Define the SASL Mechanism to access the infinispan instance. The option is a:java.lang.String
type. Group: security
-
securityRealm
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder securityRealm(String securityRealm)
Define the security realm to access the infinispan instance. The option is a:java.lang.String
type. Group: security
-
securityServerName
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder 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 InfinispanComponentBuilderFactory.InfinispanComponentBuilder username(String username)
Define the username to access the infinispan instance. The option is a:java.lang.String
type. Group: security
-
autowiredEnabled
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a:boolean
type. Default: true Group: advanced
-
cacheContainer
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder cacheContainer(org.infinispan.commons.api.BasicCacheContainer cacheContainer)
Specifies the cache Container to connect. The option is a:org.infinispan.commons.api.BasicCacheContainer
type. Group: advanced
-
cacheContainerConfiguration
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder cacheContainerConfiguration(Object cacheContainerConfiguration)
The CacheContainer configuration. Uses if the cacheContainer is not defined. Must be the following types: org.infinispan.client.hotrod.configuration.Configuration - for remote cache interaction configuration; org.infinispan.configuration.cache.Configuration - for embedded cache interaction configuration;. The option is a:java.lang.Object
type. Group: advanced
-
configurationProperties
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder configurationProperties(Map<String,String> configurationProperties)
Implementation specific properties for the CacheManager. The option is a:java.util.Map
type. Group: advanced
-
configurationUri
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder configurationUri(String configurationUri)
An implementation specific URI for the CacheManager. The option is a:java.lang.String
type. Group: advanced
-
flags
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder flags(String flags)
A comma separated list of Flag to be applied by default on each cache invocation, not applicable to remote caches. The option is a:java.lang.String
type. Group: advanced
-
remappingFunction
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder remappingFunction(BiFunction remappingFunction)
Set a specific remappingFunction to use in a compute operation. The option is a:java.util.function.BiFunction
type. Group: advanced
-
resultHeader
default InfinispanComponentBuilderFactory.InfinispanComponentBuilder resultHeader(Object resultHeader)
Store the operation result in a header instead of the message body. By default, resultHeader == null and the query result is stored in the message body, any existing content in the message body is discarded. If resultHeader is set, the value is used as the name of the header to store the query result and the original message body is preserved. This value can be overridden by an in message header named: CamelInfinispanOperationResultHeader. The option is a:java.lang.Object
type. Group: advanced
-
-