Author: norman
Date: Sat Oct  9 10:44:29 2010
New Revision: 1006131

URL: http://svn.apache.org/viewvc?rev=1006131&view=rev
Log:
rename amq broker from localhost to james. Because a broker name should be 
unique and localhost is the default

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=1006131&r1=1006130&r2=1006131&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:44:29 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" 
useShutdownHook="false" id="broker">
+    <amq:broker useJmx="false" persistent="true" brokerName="james" 
dataDirectory="filesystem=file://var/activemq-data/" schedulerSupport="true" 
useShutdownHook="false" id="broker">
         <amq:destinationPolicy>
             <amq:policyMap>
                 <amq:policyEntries>
@@ -147,7 +147,7 @@
     </amq:broker>
 
 
-    <amq:connectionFactory id="amqConnectionFactory" 
brokerURL="vm://localhost?create=false" />
+    <amq:connectionFactory id="amqConnectionFactory" 
brokerURL="vm://james?create=false" />
 
     <!-- CachingConnectionFactory Definition, sessionCacheSize property is the 
number of sessions to cache -->
     <bean id="jmsConnectionFactory" 
class="org.springframework.jms.connection.CachingConnectionFactory">



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to