• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jmsTemplate Commit Issue

 
Vaibhav Vyas
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic