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/10/09 12:41:05 UTC
svn commit: r1006130 -
/james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml
Author: norman
Date: Sat Oct 9 10:41:05 2010
New Revision: 1006130
URL: http://svn.apache.org/viewvc?rev=1006130&view=rev
Log:
Don't register a shutdown hook for activemq. Spring will take care to shutdown on JVM exit. This helps to ensure that activemq broker will not get destroyed while ActiveMQMailQueue is still using it
Modified:
james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml
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=1006130&r1=1006129&r2=1006130&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 Sat Oct 9 10:41:05 2010
@@ -129,7 +129,7 @@
</camel:camelContext>
<!-- lets create an embedded ActiveMQ Broker -->
- <amq:broker useJmx="false" persistent="true" dataDirectory="filesystem=file://var/activemq-data/" schedulerSupport="true" id="broker">
+ <amq:broker useJmx="false" persistent="true" dataDirectory="filesystem=file://var/activemq-data/" schedulerSupport="true" useShutdownHook="false" id="broker">
<amq:destinationPolicy>
<amq:policyMap>
<amq:policyEntries>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org