Ehcache

Discover more about the Ehcache connector and how to use it on the Digibee Integration Platform.

Important information:

  • This documentation is currently available only in English but will soon be translated into Portuguese.

  • The content is under revision and may change. We appreciate your understanding as we work to improve the documentation.

Perform caching operations using Ehcache.

Parameters

Take a look at the configuration options for the component. Parameters supported by Double Braces expressions are marked with (DB).

Required Tab

ParameterDescriptionDefault valueData type

Cache Name (DB)

the cache name

N/A

string

Fail On Error

If true will stop pipeline with an error, if false will let the pipeline continue but the output will show a property success with value false

false

boolean

Optional Tab

ParameterDescriptionDefault valueData type

Configuration Uri (DB)

URI pointing to the Ehcache XML configuration file’s location

N/A

string

Create Cache If Not Exist

Configure if a cache need to be created if it does exist or can’t be pre-configured.

true

boolean

Action (DB)

To configure the default cache action. If an action is set in the message header, then the operation from the header takes precedence.

N/A

string

Key (DB)

To configure the default action key. If a key is set in the message header, then the key from the header takes precedence.

N/A

JSON

Configurations (DB)

A map of cache configuration to be used to create caches.

N/A

JSON

Key Type (DB)

The cache key type, default java.lang.Object

N/A

string

Value Type (DB)

The cache value type, default java.lang.Object

N/A

string

Headers Tab

ParameterDescriptionDefault valueData type

CamelEhcacheAction (DB)

The operation to be performed on the cache, valid options are: CLEAR PUT PUT_ALL PUT_IF_ABSENT GET GET_ALL REMOVE REMOVE_ALL REPLACE

N/A

string

CamelEhcacheActionHasResult

Set to true if the action has a result

false

boolean

CamelEhcacheActionSucceeded

Set to true if the action was successful

false

boolean

CamelEhcacheKey (DB)

The cache key used for an action

N/A

JSON

CamelEhcacheKeys (DB)

A list of keys, used in PUT_ALL GET_ALL REMOVE_ALL

N/A

JSON

CamelEhcacheValue (DB)

The value to put in the cache or the result of an operation

N/A

JSON

CamelEhcacheOldValue (DB)

The old value associated to a key for actions like PUT_IF_ABSENT or the Object used for comparison for actions like REPLACE

N/A

JSON

Successful executions should output at least a property "success": true.

Last updated