WebSphere MQ class: MQQueueConnection
java.lang.Object
|
+----com.ibm.mq.jms.MQConnection
|
+----com.ibm.mq.jms.MQQueueConnection
|
A QueueConnection is an active connection to a JMS point-to-point provider. A client uses a QueueConnection to create one or more QueueSessions for producing and consuming messages.
See also: Connection, QueueConnectionFactory, and XAQueueConnection
public void close() throws JMSException
public ConnectionConsumer createConnectionConsumer
(Queue queue,
java.lang.String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
throws JMSException
Create a connection consumer for this connection. This is an expert facility that is not used by regular JMS clients.
public QueueSession createQueueSession(boolean transacted,
int acknowledgeMode)
throws JMSException
Create a QueueSession.
This parameter is ignored if the session is transacted.