|
Sun Java(tm) System Message Queue v3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provide interface to create a MQ NO_ACKNOWLEDGE session.
| Method Summary | |
Session |
createSession(int acknowledgeMode)
Creates a Session object. |
| Methods inherited from interface javax.jms.Connection |
close, createConnectionConsumer, createDurableConnectionConsumer, createSession, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop |
| Method Detail |
public Session createSession(int acknowledgeMode)
throws JMSException
Session 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_ACKNOWLEDGE
JMSException - if the Connection object fails
to create a session due to some internal error or
lack of support for the specific transaction
and acknowledgement mode.
JMSExceptionSession.AUTO_ACKNOWLEDGE,
Session.CLIENT_ACKNOWLEDGE,
Session.DUPS_OK_ACKNOWLEDGE,
Session.NO_ACKNOWLEDGE
|
Sun Java(tm) System Message Queue v3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||