[
https://issues.apache.org/jira/browse/CAMEL-5226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Ford updated CAMEL-5226:
-----------------------------
Attachment: 5226.patch
I've made the changes to the CacheProducer and included unit tests for each of
the new properties.
> camel-cache - 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: New Feature
> Components: camel-cache
> Reporter: Mark Ford
> Priority: Minor
> Fix For: Future
>
> Attachments: 5226.patch
>
>
> 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