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
The type converter ends up looking for a type Thingwithbrackets, the quotes and
brackets don't make it easy.
I really don't know if it's meant to work that way, when Simple gets tricky I
reach for something like Groovy or Java.
> On 05 Dec 2014, at 09:08, welshstew wrote:
>
> Thanks for your
Thanks for your response Taariq - but as you can see form the log output this
isn't the case. The myEval bean actually doesn't do anything but the String
it receives during the simple expression evaluation is missing the single
quotes - as per the log output:
INSERT INTO SOMETHING (value,'Thing (
Hi and welcome
You don't say what myEval does, but the following expression does what you
want.
INSERT INTO SOMETHING (${body[VALUE_ONE]},${body[VALUE_TWO]})
Taariq
On Fri, Dec 5, 2014 at 1:51 AM, welshstew
wrote:
> Long time lurker - first time poster! Please be nice :)
>
> I have a very si