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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.10.0
    • camel-cache
    • None
    • 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.

      Attachments

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

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: