Simple language - Add support for referring to headers using square brackets
----------------------------------------------------------------------------

                 Key: CAMEL-5134
                 URL: https://issues.apache.org/jira/browse/CAMEL-5134
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.9.1
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.10.0, 2.9.2


This is intuitive to refer to a header using a square brackets to indicate a 
key lookup

So you can do
{code}
"${header[foo]}"
{code}

The current way would be to use a dot

{code}
"${header.foo}"
{code}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to