servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1098981 - /servicemix/smx3/trunk/samples/basic/src/main/resources/servicemix.xml
Date Tue, 03 May 2011 09:19:34 GMT
Author: jbonofre
Date: Tue May  3 09:19:34 2011
New Revision: 1098981

URL: http://svn.apache.org/viewvc?rev=1098981&view=rev
Log:
[SM-2075] Basic examples doesn't work.

Modified:
    servicemix/smx3/trunk/samples/basic/src/main/resources/servicemix.xml

Modified: servicemix/smx3/trunk/samples/basic/src/main/resources/servicemix.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/samples/basic/src/main/resources/servicemix.xml?rev=1098981&r1=1098980&r2=1098981&view=diff
==============================================================================
--- servicemix/smx3/trunk/samples/basic/src/main/resources/servicemix.xml (original)
+++ servicemix/smx3/trunk/samples/basic/src/main/resources/servicemix.xml Tue May  3 09:19:34
2011
@@ -216,11 +216,12 @@
         </amq:transportConnectors>
     </amq:broker>
 
-    <!-- JMS Xa-enabled pooled factory -->
-    <amqpool:jcaPooledConnectionFactory
-            name="jmsFactory"
-            transactionManager="#transactionManager"
-            maxConnections="10"
-            brokerURL="tcp://localhost:61616" />
+    <!-- JMS Xa-enabled/JCA pooled factory -->
+    <bean id="jmsFactory" class="org.jencks.amqpool.JcaPooledConnectionFactory" depends-on="broker">
+        <constructor-arg value="tcp://localhost:61616"/>
+        <property name="maxConnections" value="10"/>
+        <property name="transactionManager" ref="transactionManager"/>
+        <property name="name" value="jmsFactory"/>
+    </bean>
 
 </beans>



Mime
View raw message