Hi,

it found a solution which works but it is not really nice to me.. any ideas
to make it smarter?

......
choice().when(body().convertToString().contains("\"source\"")).setProperty("source").groovy("request.body.source").end()
.......

Best regards



--
View this message in context: 
http://camel.465427.n5.nabble.com/Problem-using-setProperty-with-groovy-on-optional-Field-tp5799222p5799230.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to