Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Message Headers up to Camel 2.7

Div
classconfluenceTableSmall

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}

Message Headers Camel 2.8+

Info
titleHeader 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
classconfluenceTableSmall

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
classconfluenceTableSmall

Header

Type

Description

CamelCacheTimeToLive

Integer

Camel

Wiki Markup
{div:class=confluenceTableSmall} || Header || Type || Description || | {{CamelCacheTimeToLive}} | {{Integer}} | *Camel

2.11:

*

Time

to

live

in

seconds. | | {{CamelCacheTimeToIdle}} | {{Integer}} | *Camel

seconds.

CamelCacheTimeToIdle

Integer

Camel 2.11:

*

Time

to

idle

in

seconds.

| | {{CamelCacheEternal}} | {{Boolean}} | *Camel

CamelCacheEternal

Boolean

Camel 2.11:

*

Whether

the

content

is

eternal.

| {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

...