...
Name | Type | Description |
---|---|---|
| | valid values are: put, delete, get, update, query Available as of Camel Version 2.8 |
| | the object id to store / find your object inside the cache (not needed for the query operation) Available as of Camel Version 2.8 |
You can call the samples with:
...
Name | Type | Description |
---|---|---|
| | time of the event in millis Available as of Version 2.8 |
| | the map consumer sets here "cachelistener" Available as of Version 2.8 |
| | type of event - here added, updated, envicted and removed. Available as of Version 2.8 |
| | the oid of the object Version 2.8 |
| | the name of the cache - e.g. "foo" Version 2.8 |
| | the type of the cache - here map Version 2.8 |
The object value will be stored within put and update actions inside the message body.
...
Name | Type | Description |
---|---|---|
| | valid values are: put, delete, get, update, query Available as of Camel 2.8 |
| | the object id to store / find your object inside the cache (not needed for the query operation) Available as of Camel Version 2.8 |
You can call the samples with:
...
Name | Type | Description |
---|---|---|
| | time of the event in millis Available as of Version 2.8 |
| | the map consumer sets here "cachelistener" Available as of Version 2.8 |
| | type of event - here added, updated, envicted and removed. Available as of Version 2.8 |
| | the oid of the object Available as of Version 2.8 |
| | the name of the cache - e.g. "foo" Available as of Version 2.8 |
| | the type of the cache - here map Available as of Version 2.8 |
The object value will be stored within put and update actions inside the message body.
...
Name | Type | Description |
---|---|---|
| | valid values are: put, get, removevalue, delete Available as of Version 2.8 |
| | the object id to store / find your object inside the cache Available as of Version 2.8 |
Sample for put:
Java DSL:
Code Block |
---|
from("direct:put") .setHeader(HazelcastConstants.OPERATION, constant(HazelcastConstants.PUT_OPERATION)) .to(String.format("hazelcast:%sbar", HazelcastConstants.MULTIMAP_PREFIX)); |
...
Name | Type | Description |
---|---|---|
| | time of the event in millis Available as of Version 2.8 |
| | the map consumer sets here "cachelistener" Available as of Version 2.8 |
| | type of event - here added and removed (and soon envicted) Available as of Version 2.8 |
| | the oid of the object Available as of Version 2.8 |
| | the name of the cache - e.g. "foo" Available as of Version 2.8 |
| | the type of the cache - here multimap Available as of Version 2.8 |
Anchor | ||||
---|---|---|---|---|
|
Usage of Queue
...
Name | Type | Description |
---|---|---|
| | time of the event in millis Available as of Version 2.8 |
| | the map consumer sets here "instancelistener" Available as of Version 2.8 |
| | type of event - here added or removed. Available as of Version 2.8 |
| | host name of the instance Available as of Version 2.8 |
| | port number of the instance Available as of Version 2.8 |