|
Préférences
Moteurs de recherche
|
||||||||
JavaTM Platform, Enterprise Edition, v 5.0
javax.jms
|
Method Summary | |
---|---|
Session |
createSession(boolean transacted,
int acknowledgeMode)
Creates an Session object. |
XASession |
createXASession()
Creates an XASession object. |
Methods inherited from interface javax.jms.Connection |
---|
close, createConnectionConsumer, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop |
Method Detail |
---|
XASession createXASession() throws JMSException
XASession
object.
XASession
JMSException
- if the XAConnection
object
fails to create an XASession
due to
some internal error.Session createSession(boolean transacted, int acknowledgeMode) throws JMSException
Session
object.
createSession
in interface Connection
transacted
- usage undefinedacknowledgeMode
- usage undefined
Session
object
JMSException
- if the XAConnection
object
fails to create an Session
due to
some internal error.Session.AUTO_ACKNOWLEDGE
,
Session.CLIENT_ACKNOWLEDGE
,
Session.DUPS_OK_ACKNOWLEDGE