Ovidiu,
You could try this with e.g. ognl or jxpath. If you container object is
in the 'in' message body, something like <ognl>request.body.part1 !=
null</ognl> should work inside a <when> clause.
Gert
Ovidius wrote:
Hi,
I need to send each properties of an object to a specific route.
Example : I have object CONTAINER with 2 properties : PART1 and PART2.
Those does not represent List or Collection.
I receive a CONTAINER's instance.
If PART1 is not null i need to send it to ROUTE1.
If PART2 is not null i need to send it to ROUTE2.
I need to do this in XML.
Wich is the best approach?
Thanks,
Ovidiu.