[jboss-cvs] JBossAS SVN: r84390 - in branches/Branch_5_x_JBM2: messaging-2/src/config and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Feb 18 11:32:47 EST 2009
Author: ataylor
Date: 2009-02-18 11:32:47 -0500 (Wed, 18 Feb 2009)
New Revision: 84390
Added:
branches/Branch_5_x_JBM2/messaging-2/src/config/jms-ds.xml
Modified:
branches/Branch_5_x_JBM2/build/build-distr.xml
Log:
added jms-ds
Modified: branches/Branch_5_x_JBM2/build/build-distr.xml
===================================================================
--- branches/Branch_5_x_JBM2/build/build-distr.xml 2009-02-18 16:05:26 UTC (rev 84389)
+++ branches/Branch_5_x_JBM2/build/build-distr.xml 2009-02-18 16:32:47 UTC (rev 84390)
@@ -833,6 +833,7 @@
<copy todir="${messaging.sar}" filtering="no">
<fileset dir="${_module.output}/resources">
<include name="jbm-*"/>
+ <include name="jms-ds.xml"/>
<exclude name="*cluster*"/>
</fileset>
</copy>
Added: branches/Branch_5_x_JBM2/messaging-2/src/config/jms-ds.xml
===================================================================
--- branches/Branch_5_x_JBM2/messaging-2/src/config/jms-ds.xml (rev 0)
+++ branches/Branch_5_x_JBM2/messaging-2/src/config/jms-ds.xml 2009-02-18 16:32:47 UTC (rev 84390)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<connection-factories>
+
+ <!-- ==================================================================== -->
+ <!-- JMS Stuff -->
+ <!-- ==================================================================== -->
+
+ <!--
+ The JMS provider loader. Currently pointing to a non-clustered ConnectionFactory. Need to
+ be replaced with a clustered non-load-balanced ConnectionFactory when it becomes available.
+ See http://jira.jboss.org/jira/browse/JBMESSAGING-843.
+ -->
+ <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
+ name="jboss.messaging:service=JMSProviderLoader,name=JMSProvider">
+ <attribute name="ProviderName">DefaultJMSProvider</attribute>
+ <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
+ <attribute name="FactoryRef">java:/XAConnectionFactory</attribute>
+ <attribute name="QueueFactoryRef">java:/XAConnectionFactory</attribute>
+ <attribute name="TopicFactoryRef">java:/XAConnectionFactory</attribute>
+ </mbean>
+
+ <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
+ <tx-connection-factory>
+ <jndi-name>JmsXA</jndi-name>
+ <xa-transaction/>
+ <rar-name>jms-ra.rar</rar-name>
+ <connection-definition>org.jboss.messaging.ra.JBMConnectionFactory</connection-definition>
+ <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
+ <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property>
+ <max-pool-size>20</max-pool-size>
+ <security-domain-and-application>JmsXARealm</security-domain-and-application>
+ <!--<depends>jboss.messaging:service=ServerPeer</depends>-->
+ </tx-connection-factory>
+
+</connection-factories>
More information about the jboss-cvs-commits
mailing list