You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Gnanaguru S <gn...@wipro.com> on 2011/11/21 07:26:42 UTC
Re: route a ServiceMix message by operation specified using Camel
Hi Ramesh,
You can add header. for the filtering operation.
<route>
<from uri="endpoint1" />
<setHeader headerName="operationName">
<constant>operation1</constant>
</setHeader>
<to uri="endpoint2"/>
</route>
-----
Cheers
Guru
--
View this message in context: http://servicemix.396122.n5.nabble.com/route-a-ServiceMix-message-by-operation-specified-using-Camel-tp5009558p5009582.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: route a ServiceMix message by operation specified using Camel
Posted by ychawla <pr...@gmail.com>.
Hi Ramesh,
Try to turn on the Camel tracer. You can set an attribute 'trace' on the
CamelContext and set it to true. That will show you all your headers on
your message. Take a look in there and see if you can find your operation
name anywhere.
I have tried the method I outlined in my past email and have had the
operationName bound to a header.
Best,
Yogesh
--
View this message in context: http://servicemix.396122.n5.nabble.com/route-a-ServiceMix-message-by-operation-specified-using-Camel-tp5009558p5037395.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.