...
You can append query options to the URI in the following format, ?option=value&option=#beanRef&...
Options
...
Name | Default Value | Description |
---|---|---|
| | The number of elements that may be stored in the defined cache |
| | The number of elements that may be stored in the defined cache. Options include
|
| | Specifies whether cache may overflow to disk |
| | Sets whether elements are eternal. If eternal, timeouts are ignored and the |
| | The maximum time between creation time and when an element expires. |
| | The maximum amount of time between accesses before an element expires |
| | Whether the disk store persists between restarts of the Virtual Machine. |
| | The number of seconds between runs of the disk expiry thread. |
| | Camel 2.8: If you want to use a custom factory which instantiates and creates the EHCache |
...
| | Camel 2.8: |
...
Sets |
...
a |
...
list |
...
of |
...
EHCache |
...
|
...
for |
...
all |
...
new |
...
caches |
...
- |
...
no |
...
need |
...
to |
...
define |
...
it |
...
per |
...
cache |
...
in |
...
EHCache |
...
xml |
...
config |
...
anymore. |
...
|
...
org.apache.camel.component.cache.CacheEventListenerRegistry |
...
| | Camel 2.8: |
...
Sets |
...
a |
...
list |
...
of |
...
|
...
that |
...
extends |
...
EHCache |
...
|
...
for |
...
all |
...
new |
...
caches |
...
- |
...
no |
...
need |
...
to |
...
define |
...
it |
...
per |
...
cache |
...
in |
...
EHCache |
...
xml |
...
config |
...
anymore. |
...
|
...
org.apache.camel.component.cache.CacheLoaderRegistry |
...
| | Camel 2.10: |
...
To |
...
configure |
...
using |
...
a |
...
cache |
...
key |
...
by |
...
default. |
...
If |
...
a |
...
key |
...
is |
...
provided |
...
in |
...
the |
...
message |
...
header, |
...
then |
...
the |
...
key |
...
from |
...
the |
...
header |
...
takes |
...
precedence. |
...
| | Camel 2.10: |
...
To |
...
configure |
...
using |
...
an |
...
cache |
...
operation |
...
by |
...
default. |
...
If |
...
an |
...
operation |
...
in |
...
the |
...
message |
...
header, |
...
then |
...
the |
...
operation |
...
from |
...
the |
...
header |
...
takes |
...
precedence. |
...
Cache Component options
...
Component options
Name | Default Value | Description |
---|---|---|
|
| To use a custom |
...
configuration. |
...
|
| To use a custom |
...
. | ||
|
| Camel 2.13/2.12.3: |
...
To |
...
configure |
...
the |
...
location |
...
of |
...
the |
...
|
...
file |
...
to |
...
use, |
...
such |
...
as |
...
|
...
to |
...
load |
...
from |
...
classpath. |
...
If |
...
no |
...
configuration |
...
is |
...
given, |
...
then |
...
the |
...
default |
...
settings |
...
from |
...
EHCache |
...
is |
...
used. |
...
Sending/Receiving Messages to/from the cache
...