Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5226

camel-cache - Ability to set an Element's ttl and perhaps other properties when performing an add would be nice.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.11.0
    • camel-cache
    • None
    • Novice

    Description

      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.

      Attachments

        1. 5226.patch
          40 kB
          Mark Ford

        Activity

          People

            davsclaus Claus Ibsen
            massfords Mark Ford
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: