GeeCON Prague 2014*
The moose likes Spring and the fly likes jmsTemplate Commit Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Spring
Bookmark "jmsTemplate Commit Issue" Watch "jmsTemplate Commit Issue" New topic
Author

jmsTemplate Commit Issue

Vaibhav Vyas
Greenhorn

Joined: Dec 20, 2011
Posts: 1
I am using jmsTemplate to send and receive messages. I am able to send the message succesfully and response is also coming properly in my Response Queue. Now when i try to read the response Queue with messageSelector as JMSCorrelationID, i just get NULL data. I located a BLOG which says that there is some problem when we use JMS with EJB (http://blogs.sun.com/fkieviet/entry/request_reply_from_an_ejb).

Once we send the message shouldn't there be some APi to commit teh send before we try to read the response Queue?

Any idea ?

Vaibhav!
 
GeeCON Prague 2014
 
subject: jmsTemplate Commit Issue