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

Simple Expression Language to access Map value

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • camel-core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: