Name
QueueSession
Synopsis
The QueueSession
is a Session specific to a point-to-point messaging
context. It provides methods for creating point-to-point message
consumers (QueueReceivers
), producers (QueueSenders
) and destinations
(Queues
), as well as utilities objects like QueueBrowsers
and
TemporaryQueues
.
public interface QueueSession extends javax.jms.Session { // Public Instance Methods public abstract QueueBrowser createBrowser( Queue queue) throws JMSException; public abstract QueueBrowser createBrowser(Queue queue, String messageSelector) throws JMSException; public abstract Queue createQueue( String queueName) throws JMSException; public abstract QueueReceiver createReceiver( Queue queue) throws JMSException; public abstract QueueReceiver createReceiver(Queue queue, String messageSelector) throws JMSException; public abstract QueueSender createSender( Queue queue) throws JMSException; public abstract TemporaryQueue createTemporaryQueue( ) throws JMSException; }
Passed To
QueueRequestor.QueueRequestor()
Returned By
QueueConnection.createQueueSession()
, XAQueueConnection.createQueueSession()
, XAQueueSession.getQueueSession()
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.