Hi Willem Jiang,

Thanks for the reply. I started using the ConsumerTemplate and I am still
not getting the response back, below is the snippet that I have used.

ProducerTemplate camelTemplate = context.getBean("camelTemplate",
ProducerTemplate.class);
ConsumerTemplate consumerTemplate = context.getBean("consumerTemplate",
ConsumerTemplate.class);
camelTemplate.sendBody("wmq:queue:[REQUEST
QUEUENAME]?useMessageIDAsCorrelationID=true", xe80Req);
String resp = consumerTemplate.receiveBody("wmq:queue:[REPLY
QUEUENAME]").toString();

My camel-context.xml is as following
<camel:camelContext id="camel-client">
        <camel:template id="camelTemplate" />
        <camel:consumerTemplate id="consumerTemplate"/>
</camel:camelContext>

I am not able to get the response

Thanks,
Jagadeesh Sripada



--
View this message in context: 
http://camel.465427.n5.nabble.com/Help-regarding-reading-multiple-response-tp5727972p5728118.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to