camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Taariq Levack <taar...@gmail.com>
Subject Re: Unexpected behaviour of Camel Simple expression
Date Fri, 05 Dec 2014 18:52:28 GMT
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 <stuart.winchester@gmail.com> wrote:
> 
> 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 (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 the correct input - then
> the evaluation of my eventual SQL statement ends up being incorrect.  :(
> 
> 
> 
> --
> View this message in context: http://camel.465427.n5.nabble.com/Unexpected-behaviour-of-Camel-Simple-expression-tp5760163p5760187.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message