You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2010/03/02 10:18:17 UTC

svn commit: r917930 - in /james/server/trunk: pom.xml spring-deployment/pom.xml spring-deployment/src/main/config/james/spring-beans.xml

Author: norman
Date: Tue Mar  2 09:18:16 2010
New Revision: 917930

URL: http://svn.apache.org/viewvc?rev=917930&view=rev
Log:
Remove usage of jencks connection pooling, its not recommend anymore and the shipped with activemq performance a way better..

Modified:
    james/server/trunk/pom.xml
    james/server/trunk/spring-deployment/pom.xml
    james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml

Modified: james/server/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/pom.xml?rev=917930&r1=917929&r2=917930&view=diff
==============================================================================
--- james/server/trunk/pom.xml (original)
+++ james/server/trunk/pom.xml Tue Mar  2 09:18:16 2010
@@ -927,13 +927,7 @@
       <artifactId>activemq-core</artifactId>
       <version>5.3.0</version>
     </dependency>
-    <dependency>
-      <groupId>org.jencks</groupId>
-      <artifactId>jencks-amqpool</artifactId>
-      <version>2.2</version>
-      <scope>runtime</scope>
-    </dependency>
-
+   
     <dependency>
       <groupId>javax.jcr</groupId>
       <artifactId>jcr</artifactId>

Modified: james/server/trunk/spring-deployment/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/pom.xml?rev=917930&r1=917929&r2=917930&view=diff
==============================================================================
--- james/server/trunk/spring-deployment/pom.xml (original)
+++ james/server/trunk/spring-deployment/pom.xml Tue Mar  2 09:18:16 2010
@@ -229,11 +229,7 @@
      <artifactId>activemq-camel</artifactId>
      <scope>runtime</scope>
    </dependency>
-   <dependency>
-      <groupId>org.jencks</groupId>
-      <artifactId>jencks-amqpool</artifactId>
-      <scope>runtime</scope>
-    </dependency>
+  
    <dependency>
       <groupId>org.apache.xbean</groupId>
       <artifactId>xbean-spring</artifactId>

Modified: james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml?rev=917930&r1=917929&r2=917930&view=diff
==============================================================================
--- james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml (original)
+++ james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml Tue Mar  2 09:18:16 2010
@@ -128,11 +128,15 @@
  
 
     <!-- jms connection pooling  -->
-    <bean id="jmsConnectionFactory" class="org.jencks.amqpool.PooledConnectionFactory">
-      <constructor-arg value="vm://localhost?broker.useJmx=false" />
-      <property name="maxConnections" value="8" />
-    </bean> 
-
+    <bean id="jmsConnectionFactory" class="org.apache.activemq.pool.PooledConnectionFactory" destroy-method="stop">
+      <property name="connectionFactory">
+        <bean class="org.apache.activemq.ActiveMQConnectionFactory">
+          <property name="brokerURL">
+            <value>vm://localhost?broker.useJmx=false</value>
+          </property>
+        </bean>
+      </property>
+    </bean>
 
     <!-- setup spring jms TX manager -->
     <bean id="jmsTransactionManager" class="org.springframework.jms.connection.JmsTransactionManager">



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org