Camel
  1. Camel
  2. CAMEL-4300

camel-cache - Make it possible to specify cache operation / key in endpoint uri

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.10.0
    • Component/s: camel-cache
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      Currently you need to provide headers with an operation and key. Instead it should be simpler to do in the uri directly

      .to("cache:myCache?operation=update&key=foo");

      But if there is any headers, then they should take precedence. This is the normal convention with other Camel components. That headers takes precedence over uri configuration.

      1. camel-cache.uri-config-imp.patch
        17 kB
        Piotr Klimczak
      2. camelCacheUrlOpts.patch
        15 kB
        Piotr Klimczak

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development