You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Mark Ford (JIRA)" <ji...@apache.org> on 2012/04/27 00:14:49 UTC
[jira] [Created] (CAMEL-5226) Ability to set an Element's ttl and
perhaps other properties when performing an add would be nice.
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
[jira] [Resolved] (CAMEL-5226) camel-cache - Ability to set an
Element's ttl and perhaps other properties when performing an add would be
nice.
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-5226.
--------------------------------
Resolution: Fixed
Fix Version/s: (was: Future)
2.11
Assignee: Claus Ibsen
Thanks for the patch.
> 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
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.11
>
> 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
[jira] [Updated] (CAMEL-5226) camel-cache - Ability to set an
Element's ttl and perhaps other properties when performing an add would be
nice.
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-5226:
-------------------------------
Fix Version/s: Future
Issue Type: New Feature (was: Improvement)
Summary: camel-cache - Ability to set an Element's ttl and perhaps other properties when performing an add would be nice. (was: Ability to set an Element's ttl and perhaps other properties when performing an add would be nice.)
> 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
>
>
> 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
[jira] [Commented] (CAMEL-5226) Ability to set an Element's ttl and
perhaps other properties when performing an add would be nice.
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407933#comment-13407933 ]
Claus Ibsen commented on CAMEL-5226:
------------------------------------
Any update on a patch?
> 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
> Fix For: Future
>
>
> 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
[jira] [Updated] (CAMEL-5226) camel-cache - Ability to set an
Element's ttl and perhaps other properties when performing an add would be
nice.
Posted by "Mark Ford (JIRA)" <ji...@apache.org>.
[ 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