camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arno noordover <a...@noordover.net>
Subject Re: convert empty string to null w3c document
Date Tue, 16 Jul 2013 06:14:10 GMT
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.

Mime
View raw message