camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-4364) Simple language - OGNL - keys to access Map should support quotes in the provided key name
Date Mon, 22 Aug 2011 12:59:30 GMT
Simple language - OGNL - keys to access Map should support quotes in the provided key name
------------------------------------------------------------------------------------------

                 Key: CAMEL-4364
                 URL: https://issues.apache.org/jira/browse/CAMEL-4364
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.9.0


Current to access a map from the message body you have to provide the key name without any
enclosing quotes as:
 .when().simple("${body.property[foo]} == 'King Kong'")

However we should support both notations as people may enclose using quotes as this is needed
in Java
 .when().simple("${body.property['foo']} == 'King Kong'")

And the quotes can also be double quotes.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message