servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ksobkow...@apache.org
Subject git commit: SM-2324: Use JcaPooledConnectionFactory instead of XaPooledConnectionFactory
Date Tue, 15 Jul 2014 20:52:30 GMT
Repository: servicemix
Updated Branches:
  refs/heads/servicemix-5.1.x b40978d3c -> 62e6f06f0


SM-2324: Use JcaPooledConnectionFactory instead of XaPooledConnectionFactory

Thanks to Benjamin Graf for the patch!!!

(Cherry picked from the commit 9881d7b29c444bb92e3455e12c6b0caed0174b6a)


Project: http://git-wip-us.apache.org/repos/asf/servicemix/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix/commit/62e6f06f
Tree: http://git-wip-us.apache.org/repos/asf/servicemix/tree/62e6f06f
Diff: http://git-wip-us.apache.org/repos/asf/servicemix/diff/62e6f06f

Branch: refs/heads/servicemix-5.1.x
Commit: 62e6f06f0ee33ab46ab45011688b582b6c663914
Parents: b40978d
Author: Krzysztof Sobkowiak <krzys.sobkowiak@gmail.com>
Authored: Tue Jul 15 22:48:54 2014 +0200
Committer: Krzysztof Sobkowiak <krzys.sobkowiak@gmail.com>
Committed: Tue Jul 15 22:51:55 2014 +0200

----------------------------------------------------------------------
 .../src/main/resources/OSGI-INF/blueprint/activemq-service.xml  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix/blob/62e6f06f/activemq/activemq-service/src/main/resources/OSGI-INF/blueprint/activemq-service.xml
----------------------------------------------------------------------
diff --git a/activemq/activemq-service/src/main/resources/OSGI-INF/blueprint/activemq-service.xml
b/activemq/activemq-service/src/main/resources/OSGI-INF/blueprint/activemq-service.xml
index c17915b..e64b3da 100644
--- a/activemq/activemq-service/src/main/resources/OSGI-INF/blueprint/activemq-service.xml
+++ b/activemq/activemq-service/src/main/resources/OSGI-INF/blueprint/activemq-service.xml
@@ -39,10 +39,11 @@
     </bean>
 
     <!-- connection factory wrapper to support auto-enlisting of XA resource -->
-    <bean id="jmsXaPoolConnectionFactory" class="org.apache.activemq.pool.XaPooledConnectionFactory">
-        <property name="maxConnections" value="1" />
+    <bean id="jmsXaPoolConnectionFactory" class="org.apache.activemq.pool.JcaPooledConnectionFactory">
+        <property name="maxConnections" value="8" />
         <property name="connectionFactory" ref="jmsXaConnectionFactory" />
         <property name="transactionManager" ref="osgiJtaTransactionManager" />
+        <property name="name" value="activemq.${broker-name}" />
     </bean>
 
     <bean id="jmsXaConnectionFactory" class="org.apache.activemq.ActiveMQXAConnectionFactory">


Mime
View raw message