Can you do some debug yourself, as I don't have any SunLink component code ?
You can setup some break point in the UnitOfWorkProcessor.
The routeID will be set into the exchange when the process method of UnitOfWorkProcessor. is called.


On Wed Nov 16 10:53:40 2011, xiangqiuzhao wrote:
i use RouteBuilder and can't get the correct routeId.
my SunLinkConsumer implement refers to the  Mina component, and my
ReceiveHandler like
Exchange exchange = getEndpoint().createConsumerExchange(context, request);

public Exchange createConsumerExchange(SunLinkContext context, SLData data)
{
         Exchange exchange = createExchange();
         Message message = exchange.getIn();
        message.setBody(data.getData());
         return exchange;
     }

how the Exchange include the routeId?

--
View this message in context: 
http://camel.465427.n5.nabble.com/why-i-get-the-incorrect-routeId-from-Exchange-tp4993170p4996512.html
Sent from the Camel - Users mailing list archive at Nabble.com.




--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
        http://jnn.javaeye.com (Chinese)
Twitter: willemjiang Weibo: willemjiang

Reply via email to