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