I found a solution for my problem where I want to return a null object based
on the input.
I've done it using a combination of content based routing and a transform
using the simple language.
In the "simple" language I refer to a generic NullObjectFactory bean that
has a method the creates a null-object.
The code of my NullObjectFactory is:




--
View this message in context: 
http://camel.465427.n5.nabble.com/convert-empty-string-to-null-w3c-document-tp5735680p5735692.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to