Re: Problem using setProperty() with groovy() on optional Field

2017-05-11 Thread Claus Ibsen
> choice()/when() route and so on.. > > Can you please tell me the correct syntax to check if "request.body.source" > is available, if true, setProperty with the value.. if not present, ignore.. > > Thanks a lot for your help. > Best Regards > > > > -- > View

Re: Problem using setProperty() with groovy() on optional Field

2017-05-10 Thread Mic
blem-using-setProperty-with-groovy-on-optional-Field-tp5799222p5799236.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Problem using setProperty() with groovy() on optional Field

2017-05-10 Thread Mic
-- 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.

Re: Problem using setProperty() with groovy() on optional Field

2017-05-10 Thread souciance
> If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/Problem-using-setProperty- > with-groovy-on-optional-Field-tp5799222p5799236.html > To start a new topic under Camel - Users, email ml+s465427n465428h31@n

Re: Problem using setProperty() with groovy() on optional Field

2017-05-10 Thread souciance
uot;source").groovy("request.body.source").end() > ... > > Best regards > > -- > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/Problem-using-setPro

Problem using setProperty() with groovy() on optional Field

2017-05-10 Thread Mic
tax, choice()/when() route and so on.. Can you please tell me the correct syntax to check if "request.body.source" is available, if true, setProperty with the value.. if not present, ignore.. Thanks a lot for your help. Best Regards -- View this message in context: http://camel.465427.n5.nabble.co