java.lang.Object | +----com.ibm.mq.jms.MQSession | +----com.ibm.mq.jms.MQQueueSession
An MQQueueSession provides methods to create MQQueueReceivers, MQQueueSenders, MQQueueBrowsers , and MQTemporaryQueues.
public void commit() throws JMSException;
Commits all messages done in this transaction and releases any locks currently held.
public QueueReceiver createReceiver(Queue queue) throws JMSException;
Creates a QueueReceiver object to receive messages from the specified queue.
public QueueReceiver createReceiver(Queue queue, String messageSelector) throws JMSException;
Creates an MQQueueReceiver object to receive messages from the specified queue and message selector.
public QueueSender createSender(Queue queue) throws JMSException;
Creates a QueueSender object to send messages to the specified queue.
public TemporaryQueue createTemporaryQueue() throws JMSException;
Creates a JMS temporary queue. The temporary queue remains until the connection ends or the queue is explicitly deleted, whichever is the sooner.
public void recover() throws JMSException;
Restarts message delivery from the oldest unacknowledged message. Analogous to rollback(), but for the non-transacted case.
public void rollback() throws JMSException;
Rolls back any messages done in this transaction and releases any locks currently held.
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csqzaw13100 |