Infinispan

Infinispan

Scheme: infinispan
Syntax: infinispan:host
Description: For reading/writing from/to Infinispan distributed key/value store and data grid.
Deprecated:false
Async:false
Maven: org.apache.camel/camel-infinispan/2.18.1.redhat-000005

For reading/writing from/to Infinispan distributed key/value store and data grid.

Name Kind Group Required Default Type Enum Description
host path common true java.lang.String Specifies the host of the cache on Infinispan instance
cacheContainer parameter common org.infinispan.commons.api.BasicCacheContainer Specifies the cache Container to connect
cacheName parameter common java.lang.String Specifies the cache name
queryBuilder parameter common org.apache.camel.component.infinispan.InfinispanQueryBuilder Specifies the query builder.
bridgeErrorHandler parameter consumer boolean 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/ERROR level and ignored.
clusteredListener parameter consumer false boolean If true, the listener will be installed for the entire cluster
customListener parameter consumer org.apache.camel.component.infinispan.InfinispanCustomListener Returns the custom listener in use, if provided
eventTypes parameter consumer java.lang.String 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

sync parameter consumer true boolean If true, the consumer will receive notifications synchronously
exceptionHandler parameter consumer (advanced) org.apache.camel.spi.ExceptionHandler To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exchangePattern parameter consumer (advanced) org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the exchange pattern when the consumer creates an exchange.
command parameter producer put java.lang.String put
putAll
putIfAbsent
putAsync
putAllAsync
putIfAbsentAsync
get
containsKey
containsValue
remove
removeAsync
replace
replaceAsync
size
clear
clearAsync
query
stats
The operation to perform.
configurationUri parameter advanced java.lang.String An implementation specific URI for the CacheManager
flags parameter advanced java.lang.String A comma separated list of Flag to be applied by default on each cache invocation, not applicable to remote caches.
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).

infinispan consumer