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

Simple Expression Language to access Map value

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: camel-core
    • Labels:
      None

      Description

      Users may want to use Simple Expression Language to evaluate an expression that involves Map header values. For example, the follow expression should evaluate to the Map entry value by the key "bar". The map is the value of an IN message header by the name of "foo".

      ${in.header.foo[bar]}

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              wtam William Tam
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: