camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidius <ovidiu.ari...@gmail.com>
Subject Re: Object Properties - specific route
Date Fri, 13 Jun 2008 13:20:43 GMT

My problem is i have a complex model and cannot be mashalled to XML.


James.Strachan wrote:
> 
> Just send a blob of XML with all the information you need inside it as
> a single Camel message, then use content based router to route based
> on XPath/XQuery expressions...
> http://activemq.apache.org/camel/content-based-router.html
> 
> 
> 2008/6/13 Ovidius <ovidiu.ariton@gmail.com>:
>>
>> 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.
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Object-Properties---specific-route-tp17822330s22882p17822330.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> Open Source Integration
> http://open.iona.com
> 
> 

-- 
View this message in context: http://www.nabble.com/Object-Properties---specific-route-tp17822330s22882p17823258.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message