You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by kannappan123 <ka...@gmail.com> on 2013/04/24 08:39:05 UTC

RE: JMS request-reply and transactions

I have a similar problem. I have Request Reply queue. 

My (Component / ArtifactId / URI) is like this
jms-mq:planRequestQueue?replyTo=planReplyQueue

I have set ExchangePattern to InOut 

I can successfully drop a message on to planRequestQueue and receive the
reply message on the planReplyQueue. However on the reply queue, the
connection (open input count) is NOT closed.

I have tried adding transactedInOut but that does not even connect to the
reply queue
jms-mq:planRequestQueue?replyTo=planReplyQueue&transactedInOut=true

As suggested, I have removed the reply queue  and just have
jms-mq:planRequestQueue

This only lets me drop the message on the requestQueue and does not even
connect to the reply queue. The reply message is just lying there on the
reply queue.



--
View this message in context: http://camel.465427.n5.nabble.com/JMS-request-reply-and-transactions-tp4933166p5731393.html
Sent from the Camel - Users mailing list archive at Nabble.com.

RE: JMS request-reply and transactions

Posted by kannappan123 <ka...@gmail.com>.
I have now fixed the leak, the  by calling producerTemplate.stop();



--
View this message in context: http://camel.465427.n5.nabble.com/JMS-request-reply-and-transactions-tp4933166p5732383.html
Sent from the Camel - Users mailing list archive at Nabble.com.