JMSリソース・アダプタは事前定義された多くのJMS接続ファクトリを提供します。各JMS接続ファクトリ・インタフェースには、独自の<connection-definition>要素があります。各<connection-definition>は、Java Connector Architecture仕様によって要求されるクラスおよびインタフェースと、追加の構成プロパティを定義します。
JMSリソース・アダプタでは次の接続ファクトリがサポートされます。
WebLogic JMS non-XA ConnectionFactory
WebLogic JMS non-XA QueueConnectionFactory
WebLogic JMS non-XA TopicConnectionFactory
WebLogic JMS XA ConnectionFactory
WebLogic JMS XA QueueConnectionFactory
WebLogic JMS XA TopicConnectionFactory
詳細は、JMSリソース・アダプタra.xmlファイルの例のra.xmlファイルの<outbound-resourceadapter>要素を参照してください。
JMSリソース・アダプタでは、ra.xmlファイルまたは、JMSリソース・アダプタのアウトバウンドの構成プロパティに説明されているようにJMSリソース・アダプタがデプロイされている外部アプリケーション・サーバーのJava EEコンテナに設定できる追加の構成プロパティがサポートされています。
次に、追加の構成パラメータを使用したWebLogic XA接続ファクトリの例を示します。
. . .
<connection-definition>
<managedconnectionfactory-class>
weblogic.jms.ra.WLManagedXAConnectionFactory
</managedconnectionfactory-class>
<config-property>
<config-property-name>LoggerName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>weblogic.jms.ra</config-property-value>
</config-property>
<config-property>
<config-property-name>LogLevel</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>FINEST</config-property-value>
</config-property>
<config-property>
<config-property-name>group</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<config-property-name>rpResourceLocation</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<config-property-name>autoCloseSession</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>false</config-property-value>
</config-property>
<connectionfactory-interface>
weblogic.jms.ra.WLXAConnectionFactoryInterface
</connectionfactory-interface>
<connectionfactory-impl-class>
weblogic.jms.ra.WLXAConnectionFactory
</connectionfactory-impl-class>
<connection-interface>
weblogic.jms.ra.WLXAConnectionInterface
</connection-interface>
<connection-impl-class>
weblogic.jms.ra.WLXAConnection
</connection-impl-class>
</connection-definition>
. . .