activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From artnas...@apache.org
Subject [2/5] activemq git commit: Added dbcp config
Date Fri, 06 Mar 2015 17:36:50 GMT
Added dbcp config


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/6f1e48d8
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/6f1e48d8
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/6f1e48d8

Branch: refs/heads/master
Commit: 6f1e48d86647fc0e13a59c45614162d92f2dc8bd
Parents: 58ed95d
Author: Jeff Genender <jgenender@savoirtech.com>
Authored: Fri Mar 6 08:05:11 2015 -0700
Committer: Jeff Genender <jgenender@savoirtech.com>
Committed: Fri Mar 6 08:05:11 2015 -0700

----------------------------------------------------------------------
 .../src/release/examples/conf/activemq-jdbc-performance.xml    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/6f1e48d8/assembly/src/release/examples/conf/activemq-jdbc-performance.xml
----------------------------------------------------------------------
diff --git a/assembly/src/release/examples/conf/activemq-jdbc-performance.xml b/assembly/src/release/examples/conf/activemq-jdbc-performance.xml
index 3b0832b..cb126be 100644
--- a/assembly/src/release/examples/conf/activemq-jdbc-performance.xml
+++ b/assembly/src/release/examples/conf/activemq-jdbc-performance.xml
@@ -70,13 +70,13 @@
 
 
   <!-- MySql DataSource Sample Setup -->
-  <bean id="mysql-ds" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
+  <bean id="mysql-ds" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
     <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
     <property name="url" value="jdbc:mysql://localhost/activemq?relaxAutoCommit=true"/>
     <property name="username" value="root"/>
     <property name="password" value="root"/>
-    <property name="maxActive" value="200"/>
+    <property name="maxTotal" value="200"/>
     <property name="poolPreparedStatements" value="true"/>
   </bean>
 
-</beans>
\ No newline at end of file
+</beans>


Mime
View raw message