I have a realtime application. I cannot serialize every message. 

My initial appoach was :

<multicast >
                                <filter>
                                        <ognl>request.body.PART1 != null</ognl>
                                                <splitter>
        <expression>
                                                <ognl>request.body.PART1</ognl>
                                                <to uri="seda:PART1ROUTE" />
</expression>
                                        </splitter>
                                </filter>
                                <filter>        
                                        <ognl>request.body.PART2 != null</ognl>
                                        <splitter>
                                                <ognl>request.body.PART2</ognl>
                                                <to uri="seda:PART2ROUTE" />
                                        </splitter>
                                </filter>
</multicast>

But, is a overhead and have poor performance.

I try to create a message endpoind in java and to this transformation there.

Thanx for replay.


James.Strachan wrote:
> 
> 2008/6/13 Ovidius <[EMAIL PROTECTED]>:
>>
>> My problem is i have a complex model and cannot be mashalled to XML.
> 
> Why?
> 
> You tried XStream?
> http://xstream.codehaus.org/
> 
> or just write a little data transfer object that contains whatever
> bits of your object model you wanna send as a message
> 
> -- 
> 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-tp17822330s22882p17823568.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to