servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bsny...@apache.org
Subject svn commit: r434553 - /incubator/servicemix/trunk/apache-servicemix/src/main/release/conf/activemq.xml
Date Thu, 24 Aug 2006 22:45:18 GMT
Author: bsnyder
Date: Thu Aug 24 15:45:17 2006
New Revision: 434553

URL: http://svn.apache.org/viewvc?rev=434553&view=rev
Log:
Added a pooling datasource for MySQL that uses the c3p0 pooler.

Modified:
    incubator/servicemix/trunk/apache-servicemix/src/main/release/conf/activemq.xml

Modified: incubator/servicemix/trunk/apache-servicemix/src/main/release/conf/activemq.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/apache-servicemix/src/main/release/conf/activemq.xml?rev=434553&r1=434552&r2=434553&view=diff
==============================================================================
--- incubator/servicemix/trunk/apache-servicemix/src/main/release/conf/activemq.xml (original)
+++ incubator/servicemix/trunk/apache-servicemix/src/main/release/conf/activemq.xml Thu Aug
24 15:45:17 2006
@@ -61,7 +61,7 @@
   </bean>
   -->
   
-  <!-- MySql DataSource Sample Setup -->
+  <!-- MySql DataSource Sample Setup using the Commons DBCP pooler (http://jakarta.apache.org/commons/dbcp/)
-->
   <!-- 
   <bean id="mysql-ds" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
     <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
@@ -71,6 +71,19 @@
     <property name="poolPreparedStatements" value="true"/>
   </bean>
   -->  
+
+  <!-- MySql DataSource Sample Setup using the c3p0 pooler (http://sf.net/projects/c3p0)
-->
+  <!-- 
+  <bean id="mysql-ds" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">
+    <property name="driverClass" value="com.mysql.jdbc.Driver">
+    <property name="jdbcUrl" value="jdbc:mysql://localhost:3306/activemq">
+    <property name="user" value="activemq">
+    <property name="password" value="activemq">
+    <property name="minPoolSize" value="5">
+    <property name="maxPoolSize" value="10">
+    <property name="acquireIncrement" value="3">
+  </bean>
+  -->
    
   <!-- Embedded Derby DataSource Sample Setup -->
   <!-- 



Mime
View raw message