camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Muhammad Ichsan <ich...@gmail.com>
Subject Error using inOut pattern
Date Tue, 31 Aug 2010 04:42:43 GMT
Dear All

I have problem related to inOut in my attachment. The problem is that,
Exchange.getIn().getBody() is null after inOut invocation. This problem
doesn't occur if I do not have any <to> after activemq:mm01.rin

<route>
<from uri="activemq:mm01.in" />
 <setExchangePattern pattern="InOut" />
<to uri="activemq:mm01.rin?replyTo=mm01.rout" />
</route>

<route>
<from uri="activemq:mm01.rin" />

<!-- This <to> can cause problem
<to uri="bean:internalViewer?method=view" />
-->
<to uri="bean:interMessageController?method=toExternalMessage" />
<to uri="bean:communicator?method=write" />
</route>

<route>
<from uri="bean:communicator?method=readNext" />
<to uri="bean:interMessageController?method=toInternalMessage" />
<to uri="activemq:mm01.rout" />
</route>

Thanks for your guidance.

-- 
~The best men are men who benefit to others
http://michsan.web.id 一緒に勉強しましょう!

Yang berkualitas memang beda rasanya!
http://rizqi-cookies.com

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message