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.

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.11.0
    • Component/s: camel-cache
    • Labels:
      None
    • Estimated Complexity:
      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.

      1. 5226.patch
        40 kB
        Mark Ford

        Activity

          People

          • Assignee:
            Claus Ibsen
            Reporter:
            Mark Ford
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development