public interface QueueConnection
extends javax.jms.QueueConnection
| Modifier and Type | Method and Description |
|---|---|
javax.jms.QueueSession |
createQueueSession(int acknowledgeMode)
Creates a
QueueSession object. |
createConnectionConsumer, createQueueSessionclose, createConnectionConsumer, createDurableConnectionConsumer, createSession, createSession, createSession, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stopjavax.jms.QueueSession createQueueSession(int acknowledgeMode)
throws javax.jms.JMSException
QueueSession object.acknowledgeMode - indicates whether the consumer or the client will acknowledge any messages it receives; Legal
values are Session.AUTO_ACKNOWLEDGE, Session.CLIENT_ACKNOWLEDGE,
Session.DUPS_OK_ACKNOWLEDGE, and com.sun.messaging.jms.Session.NO_ACKNOWLEDGEJMSException - if the QueueConnection object fails to create a session due to some internal
error or lack of support for the specific transaction and acknowledgement mode.javax.jms.JMSExceptionSession.AUTO_ACKNOWLEDGE,
Session.CLIENT_ACKNOWLEDGE,
Session.DUPS_OK_ACKNOWLEDGE,
Session.NO_ACKNOWLEDGECopyright (c) 2010, 2017 Oracle and/or its affiliates. All rights reserved.