public interface XAQueueConnection extends XAConnection, QueueConnection
XAQueueConnection
は、QueueConnection
と同じ作成オプションを提供します(オプション)。唯一の違いは、XAConnection
が定義上取引されていることです。XAQueueConnection
インターフェースはオプションです。Jakarta Messaging プロバイダーは、このインターフェースをサポートする必要はありません。このインターフェースは、トランザクション環境をサポートするために Jakarta Messaging プロバイダーが使用するためのものです。クライアントプログラムでは、これらの XA インターフェースを直接使用するのではなく、環境で利用可能なトランザクションサポートを使用することを強くお勧めします。
XAConnection
修飾子と型 | メソッドと説明 |
---|---|
QueueSession | createQueueSession(boolean transacted, int acknowledgeMode) QueueSession オブジェクトを作成します。 |
XAQueueSession | createXAQueueSession() XAQueueSession オブジェクトを作成します。 |
createSession, createXASession
createConnectionConsumer
close, createConnectionConsumer, createDurableConnectionConsumer, createSession, createSession, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
XAQueueSession createXAQueueSession() throws JMSException
XAQueueSession
オブジェクトを作成します。XAQueueSession
JMSException
- 内部エラーのために XAQueueConnection
オブジェクトが XAQueueSession
の作成に失敗した場合。QueueSession createQueueSession(boolean transacted, int acknowledgeMode) throws JMSException
QueueSession
オブジェクトを作成します。QueueConnection
の createQueueSession
transacted
- 使用箇所は未定義 acknowledgeMode
- 使用箇所は未定義 QueueSession
JMSException
- 内部エラーのために XAQueueConnection
オブジェクトが QueueSession
の作成に失敗した場合。Session.AUTO_ACKNOWLEDGE
, Session.CLIENT_ACKNOWLEDGE
, Session.DUPS_OK_ACKNOWLEDGE
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.