Name
QueueReceiver
Synopsis
A QueueReceiver
is a MessageConsumer
specific to point-to-point
messaging. The getQueue()
method returns the Queue
associated with the
receiver. QueueReceivers
are created using the createReceiver()
methods on QueueSession
.
public interface QueueReceiver extends MessageConsumer { // Public Instance Methods public abstract Queue getQueue() throws JMSException; }
Returned By
QueueSession.createReceiver()
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.