camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Ford (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-5226) camel-cache - Ability to set an Element's ttl and perhaps other properties when performing an add would be nice.
Date Sat, 07 Jul 2012 13:58:33 GMT

     [ 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

        

Mime
View raw message