Mark Ford created CAMEL-5226:
--------------------------------
Summary: Ability to set an Element's ttl and perhaps other
properties when performing an add would be nice.
Key: CAMEL-5226
URL: https://issues.apache.org/jira/browse/CAMEL-5226
Project: Camel
Issue Type: Improvement
Components: camel-cache
Reporter: Mark Ford
Priority: Minor
Currently it's possible to set a TTL at the cache level but there is no way to
override this value at the Element.
I propose adding some headers for controlling this behavior. Something along
the lines of:
CamelCacheTimeToLive (seconds)
CamelCacheTimeToIdle (seconds)
CamelCacheEternal (boolean)
These values would apply to the ADD and UPDATE operations.
I'll look at creating a patch.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira