camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arno noordover <>
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:
Sent from the Camel - Users mailing list archive at

View raw message