The hazelcast component allows you to work with the Hazelcast distributed data grid / cache.
Name | Kind | Group | Required | Default | Type | Enum | Description |
---|---|---|---|---|---|---|---|
command | path | common | true | org.apache.camel.component.hazelcast.HazelcastCommand | map multimap queue topic seda set atomicvalue instance list replicatedmap ringbuffer |
What operation to perform. | |
cacheName | path | common | true | java.lang.String | The name of the cache | ||
defaultOperation | parameter | common | int | To specify a default operation to use, if no operation header has been provided. | |||
hazelcastInstance | parameter | common | com.hazelcast.core.HazelcastInstance | The hazelcast instance reference which can be used for hazelcast endpoint. | |||
hazelcastInstanceName | parameter | common | java.lang.String | The hazelcast instance reference name which can be used for hazelcast endpoint. If you don't specify the instance reference, camel use the default hazelcast instance from the camel-hazelcast instance. | |||
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. | |||
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. | ||
synchronous | parameter | advanced | false | boolean | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | ||
concurrentConsumers | parameter | seda | 1 | int | To use concurrent consumers polling from the SEDA queue. | ||
pollTimeout | parameter | seda | 1000 | int | The timeout used when consuming from the SEDA queue. When a timeout occurs, the consumer can check whether it is allowed to continue running. Setting a lower value allows the consumer to react more quickly upon shutdown. | ||
transacted | parameter | seda | boolean | If set to true then the consumer runs in transaction mode, where the messages in the seda queue will only be removed if the transaction commits, which happens when the processing is complete. | |||
transferExchange | parameter | seda | boolean | If set to true the whole Exchange will be transfered. If header or body contains not serializable objects, they will be skipped. |