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