The JMS 2.0 specification contains examples of how to do request-reply
messaging using a temporary queue. Section 15.11.1 shows how this can be done
using the classic API, and section 15.11.2 shows how this can be done using
the simplified API. You can download the spec from
http://jcp.org/aboutJava/communityprocess/final/jsr343/index.html As you
observe, Java EE does not allow the use of the setMessageListener method, so
you need to receive messages synchronously using one of the receive methods.
This is not a new restriction.
--
[Message sent by forum member 'nigeldeakin']
View Post: http://forums.java.net/node/900071