For reading/writing from/to Infinispan distributed key/value store and data grid.
Name | Kind | Group | Required | Default | Type | Enum | Description |
---|---|---|---|---|---|---|---|
cacheName | path | common | true | java.lang.String | The cache to use | ||
hosts | parameter | common | java.lang.String | Specifies the host of the cache on Infinispan instance | |||
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 | ||
command | parameter | consumer | PUT | java.lang.String | The operation to perform. @deprecated replaced by @{link setOperation} | ||
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. | |||
operation | parameter | producer | PUT | org.apache.camel.component.infinispan.InfinispanOperation | PUT PUTASYNC PUTALL PUTALLASYNC PUTIFABSENT PUTIFABSENTASYNC GET GETORDEFAULT CONTAINSKEY CONTAINSVALUE REMOVE REMOVEASYNC REPLACE REPLACEASYNC SIZE CLEAR CLEARASYNC QUERY STATS |
The operation to perform. | |
cacheContainer | parameter | advanced | org.infinispan.commons.api.BasicCacheContainer | Specifies the cache Container to connect | |||
cacheContainerConfiguration | parameter | advanced | java.lang.Object | The CacheContainer configuration | |||
configurationProperties | parameter | advanced | java.util.Map |
Implementation specific properties for the CacheManager | |||
configurationUri | parameter | advanced | java.lang.String | An implementation specific URI for the CacheManager | |||
exchangePattern | parameter | advanced | InOnly | org.apache.camel.ExchangePattern | InOnly RobustInOnly InOut InOptionalOut OutOnly RobustOutOnly OutIn OutOptionalIn |
Sets the default exchange pattern when creating an exchange | |
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. | |||
resultHeader | parameter | advanced | java.lang.Object | 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 | |||
synchronous | parameter | advanced | false | boolean | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). |