...
Div |
---|
class | confluenceTableSmall |
---|
|
Header | Description |
---|
CACHE_OPERATION | The operation to be performed on the cache. Valid options are - GET
- CHECK
- ADD
- UPDATE
- DELETE
- DELETEALL
GET and CHECK requires Camel 2.3 onwards.
| CACHE_KEY | The cache key used to store the Message in the cache. The cache key is optional if the CACHE_OPERATION is DELETEALL |
|
Wiki Markup |
---|
{div:class=confluenceTableSmall}
|| Header || Description ||
| {{CACHE_OPERATION}} | The operation to be performed on the cache. Valid options are
- GET
- CHECK
- ADD
- UPDATE
- DELETE
- DELETEALL\\
{{GET}} and {{CHECK}} requires *Camel 2.3* onwards. |
| {{CACHE_KEY}} | The cache key used to store the Message in the cache. The cache key is optional if the CACHE_OPERATION is DELETEALL |
{div} |
Info |
---|
title | Header changes in Camel 2.8 |
---|
|
The header names and supported values have changed to be prefixed with 'CamelCache' and use mixed case. This makes them easier to identify and keep separate from other headers. The CacheConstants variable names remain unchanged, just their values have been changed. Also, these headers are now removed from the exchange after the cache operation is performed. |
Div |
---|
class | confluenceTableSmall |
---|
|
Header | Description |
---|
CamelCacheOperation | The operation to be performed on the cache. The valid options are - CamelCacheGet
- CamelCacheCheck
- CamelCacheAdd
- CamelCacheUpdate
- CamelCacheDelete
- CamelCacheDeleteAll
| CamelCacheKey | The cache key used to store the Message in the cache. The cache key is optional if the CamelCacheOperation is CamelCacheDeleteAll |
|
Wiki Markup |
---|
{div:class=confluenceTableSmall}
|| Header || Description ||
| {{CamelCacheOperation}} | The operation to be performed on the cache. The valid options are
- CamelCacheGet
- CamelCacheCheck
- CamelCacheAdd
- CamelCacheUpdate
- CamelCacheDelete
- CamelCacheDeleteAll |
| {{CamelCacheKey}} | The cache key used to store the Message in the cache. The cache key is optional if the CamelCacheOperation is CamelCacheDeleteAll |
{div} |
The CamelCacheAdd
and CamelCacheUpdate
operations support additional headers:
Div |
---|
class | confluenceTableSmall |
---|
|
Header | Type | Description |
---|
CamelCacheTimeToLive | Integer | Camel |
|
Wiki Markup |
---|
{div:class=confluenceTableSmall}
|| Header || Type || Description ||
| {{CamelCacheTimeToLive}} | {{Integer}} | *Camel * seconds. |
| {{CamelCacheTimeToIdle}} | {{Integer}} | *Camel seconds. | CamelCacheTimeToIdle | Integer | Camel 2.11: |
* |
| {{CamelCacheEternal}} | {{Boolean}} | *Camel | CamelCacheEternal | Boolean | Camel 2.11: |
* |
{div} |
Cache Producer
Sending data to the cache involves the ability to direct payloads in exchanges to be stored in a pre-existing or created-on-demand cache. The mechanics of doing this involve
...