[JMS_SPEC-141] Allow async delivery to temporary destinations in Java EE Created: 18/Nov/13 Updated: 29/Jun/15
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Currently there is no (legal) way for an application running in the Java EE web or EJB containers to consume messages asynchronously from a temporary queue or topic.
The use of setMessageListener to register a MessageListener is not permitted.
It is not possible to configure a MDB to consume messages from a temporary destination.
This was raised in the GlassFish forum recently. https://www.java.net//node/900071 Is this a common requirement?
It is proposed that the discussion elsewhere to make async message delivery in Java EE applications more flexible should (at least) consider this requirement.
|Comment by lprimak [ 19/Nov/13 ]|
The primary pattern that uses temporary queues and asynchronous receivers is
This is the simplest way to implement this pattern.
Another pattern that uses this method is here: