You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/31 15:04:24 UTC

[jira] [Resolved] (CAMEL-5134) Simple language - Add support for referring to headers using square brackets

     [ https://issues.apache.org/jira/browse/CAMEL-5134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-5134.
--------------------------------

    Resolution: Fixed
    
> 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