Websphere MQ Everyplace

com.ibm.mqe.jms
Class MQeQueueConnection

java.lang.Object
  |
  +--com.ibm.mqe.jms.MQeConnection
        |
        +--com.ibm.mqe.jms.MQeQueueConnection
All Implemented Interfaces:
javax.jms.Connection, javax.jms.QueueConnection

public class MQeQueueConnection
extends MQeConnection
implements javax.jms.QueueConnection

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

Constructor Summary
MQeQueueConnection()
           
 
Method Summary
 javax.jms.QueueSession createQueueSession(boolean transacted, int acknowledgeMode)
          Create a QueueSession
 
Methods inherited from class com.ibm.mqe.jms.MQeConnection
close, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.QueueConnection
createConnectionConsumer
 
Methods inherited from interface javax.jms.Connection
close, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 

Constructor Detail

MQeQueueConnection

public MQeQueueConnection()
Method Detail

createQueueSession

public javax.jms.QueueSession createQueueSession(boolean transacted,
                                                 int acknowledgeMode)
                                          throws javax.jms.JMSException
Create a QueueSession

Specified by:
createQueueSession in interface javax.jms.QueueConnection
Parameters:
transacted - if true, the session is transacted.
acknowledgeMode - indicates whether the consumer or the client will acknowledge any messages it receives. This parameter will be ignored if the session is transacted.
Returns:
a newly created queue session.
Throws:
javax.jms.JMSException - if JMS Connection fails to create a session due to some internal error or lack of support for specific transaction and acknowledgement mode.

Websphere MQ Everyplace