This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
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?