Current camel-jms component doesn't support to get two responses at the same time. I think you need to do the Correlation yourself, if you use ConsumerTemplate[1] to receive the response in the replay queue.
[1]http://camel.apache.org/polling-consumer.html -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Friday, February 22, 2013 at 3:06 AM, Shinta802 wrote: > I am new to Apache Camel. I need your help w.r.t below scenario. > > I am using > template.requestBody("wmq:queue:QUEUENAME?replyTo=QUEUENAME&useMessageIDAsCorrelationID=true&replyToType=Exclusive",reqXML) > to send a request and read a response. > > But I have a scenario where I send a request and get 2 responses at the same > Reply Queue. Is there a way I can have this feature using Apache Camel. > > Can you please help me regarding this case. > > Regards, > Jagadeesh Sripada > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Help-regarding-reading-multiple-response-tp5727972.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).
