public interface XAQueueConnectionFactory extends XAConnectionFactory, QueueConnectionFactory
XAQueueConnectionFactory
は、QueueConnectionFactory
と同じ作成オプションを提供します(オプション)。XATopicConnectionFactory
インターフェースはオプションです。Jakarta Messaging プロバイダーは、このインターフェースをサポートする必要はありません。このインターフェースは、トランザクション環境をサポートするために Jakarta Messaging プロバイダーが使用するためのものです。クライアントプログラムでは、これらの XA インターフェースを直接使用するのではなく、環境で利用可能なトランザクションサポートを使用することを強くお勧めします。
QueueConnectionFactory
, XAConnectionFactory
修飾子と型 | メソッドと説明 |
---|---|
XAQueueConnection | createXAQueueConnection() デフォルトのユーザー ID で XA キュー接続を作成します。 |
XAQueueConnection | createXAQueueConnection(StringSE userName, StringSE password) 指定されたユーザー ID で XA キュー接続を作成します。 |
createXAConnection, createXAConnection, createXAContext, createXAContext
createQueueConnection, createQueueConnection
createConnection, createConnection, createContext, createContext, createContext, createContext
XAQueueConnection createXAQueueConnection() throws JMSException
Connection.start
メソッドが明示的に呼び出されるまで、メッセージは配信されません。JMSException
- 内部エラーが原因で Jakarta Messaging プロバイダーが XA キュー接続の作成に失敗した場合 JMSSecurityException
- 無効なユーザー名またはパスワードが原因でクライアント認証が失敗した場合。XAQueueConnection createXAQueueConnection(StringSE userName, StringSE password) throws JMSException
Connection.start
メソッドが明示的に呼び出されるまで、メッセージは配信されません。userName
- 呼び出し元のユーザー名 password
- 呼び出し元のパスワード JMSException
- 内部エラーが原因で Jakarta Messaging プロバイダーが XA キュー接続の作成に失敗した場合 JMSSecurityException
- 無効なユーザー名またはパスワードが原因でクライアント認証が失敗した場合。Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.