You can't do multithreading in an EJB and a listener is a separate thread. I'm surprised it ever works. If you're doing request/response, you need to do a blocking get with wait -- you can use the receive method with timeout on a message consumer to get the response.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.