Thanks for your reply. I tried this before, but the property "source" is then null in the next steps even if the source field was present in the XML. Really strange..
btw: Camel Version is 2.17.1 best regards -- View this message in context: http://camel.465427.n5.nabble.com/Problem-using-setProperty-with-groovy-on-optional-Field-tp5799222p5799236.html Sent from the Camel - Users mailing list archive at Nabble.com.