GitHub user mcollovati opened a pull request:
https://github.com/apache/camel/pull/1430
Fixed square brackets parsing in simple language
Fixed simple expression parsing in order to correctly evaluate
OGNL expression after property extraction with square brackets.
The following expressions are now allowed
headers[foo].OGNL
in.headers[foo].OGNL
exchangeProperty[foo].OGNL
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mcollovati/camel
CAMEL-10760/simple-squarebracket-ognl
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1430.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1430
----
commit 2bb09c36231d6df3f7f7914ea06e7b8afd399330
Author: Marco Collovati <[email protected]>
Date: 2017-01-28T22:17:27Z
Fixed square brackets parsing in simple language
Fixed simple expression parsing in order to correctly evaluate
OGNL expression after property extraction with square brackets.
The following expressions are now allowed
headers[foo].OGNL
in.headers[foo].OGNL
exchangeProperty[foo].OGNL
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---