Unexpected behaviour of Camel Simple expression

2014-12-04 Thread welshstew
Long time lurker - first time poster! Please be nice :) I have a very simple camel route: The populateMap bean creates a map as follows: LinkedHashMap map = new LinkedHashMap(); map.put("VALUE_ONE", "'value'"); map.put("VALUE_TWO", "'Thing (with brackets)'")

Re: Unexpected behaviour of Camel Simple expression

2014-12-04 Thread welshstew
lue,'Thing (with brackets) I have published the code to github: https://github.com/welshstew/simple-test <https://github.com/welshstew/simple-test> I'm pulling this out as an example - in another project I am working on because the bean represented by myEval does not get th

Re: Unexpected behaviour of Camel Simple expression

2014-12-07 Thread welshstew
Thanks Taariq - plenty of ways to skin this camel - which is what is so nice about it. I managed to get what I wanted by using a simple java processor. Cheers, Stu. -- View this message in context: http://camel.465427.n5.nabble.com/Unexpected-behaviour-of-Camel-Simple-expression-tp5760163p