WebSphere MQ class: MQQueueSession
java.lang.Object
|
+----com.ibm.mq.jms.MQSession
|
+----com.ibm.mq.jms.MQQueueSession
|
A QueueSession provides methods to create QueueReceivers, QueueSenders, QueueBrowsers and TemporaryQueues.
See also: Session
The following methods are inherited from MQSession:
public QueueBrowser createBrowser(Queue queue)
throws JMSException
Create a QueueBrowser to peek at the messages on the specified queue.
public QueueBrowser createBrowser(Queue queue,
java.lang.String messageSelector)
throws JMSException
Create a QueueBrowser to peek at the messages on the specified queue.
public Queue createQueue(java.lang.String queueName)
throws JMSException
Create a Queue given a Queue name. This allows the creation of a queue with a provider specific name. The string takes a URI format, as described on topic (JMSURI).
public QueueReceiver createReceiver(Queue queue)
throws JMSException
Create a QueueReceiver to receive messages from the specified queue.
public QueueReceiver createReceiver(Queue queue,
java.lang.String messageSelector)
throws JMSException
Create a QueueReceiver to receive messages from the specified queue.
public QueueSender createSender(Queue queue)
throws JMSException
Create a QueueSender to send messages to the specified queue.
public TemporaryQueue createTemporaryQueue()
throws JMSException
Create a temporary queue. Its lifetime will be that of the QueueConnection unless deleted earlier.