activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r929179 - in /activemq/trunk/assembly/src/release: conf/camel.xml webapps/camel/WEB-INF/applicationContext.xml
Date Tue, 30 Mar 2010 15:50:41 GMT
Author: dejanb
Date: Tue Mar 30 15:50:40 2010
New Revision: 929179

URL: http://svn.apache.org/viewvc?rev=929179&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQ-2448 - a bit better workaround

Modified:
    activemq/trunk/assembly/src/release/conf/camel.xml
    activemq/trunk/assembly/src/release/webapps/camel/WEB-INF/applicationContext.xml

Modified: activemq/trunk/assembly/src/release/conf/camel.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/assembly/src/release/conf/camel.xml?rev=929179&r1=929178&r2=929179&view=diff
==============================================================================
--- activemq/trunk/assembly/src/release/conf/camel.xml (original)
+++ activemq/trunk/assembly/src/release/conf/camel.xml Tue Mar 30 15:50:40 2010
@@ -53,7 +53,13 @@
 
     <!-- configure the camel activemq component to use the current broker -->
     <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent"
>
-       <property name="userName" value="${activemq.username}"/>
-       <property name="password" value="${activemq.password}"/>
+        <property name="connectionFactory">
+          <bean class="org.apache.activemq.ActiveMQConnectionFactory">
+            <property name="brokerURL" value="vm://localhost?create=false&amp;waitForStart=10000"
/>
+            <property name="userName" value="${activemq.username}"/>
+            <property name="password" value="${activemq.password}"/>
+            <property name="useSingleConnection" value="true" />
+          </bean>
+        </property>
     </bean>
 </beans>

Modified: activemq/trunk/assembly/src/release/webapps/camel/WEB-INF/applicationContext.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/assembly/src/release/webapps/camel/WEB-INF/applicationContext.xml?rev=929179&r1=929178&r2=929179&view=diff
==============================================================================
--- activemq/trunk/assembly/src/release/webapps/camel/WEB-INF/applicationContext.xml (original)
+++ activemq/trunk/assembly/src/release/webapps/camel/WEB-INF/applicationContext.xml Tue Mar
30 15:50:40 2010
@@ -51,7 +51,13 @@
 
     <!-- configure the camel activemq component to use the current broker -->
     <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent"
>
-       <property name="userName" value="${activemq.username}"/>
-       <property name="password" value="${activemq.password}"/>
+        <property name="connectionFactory">
+          <bean class="org.apache.activemq.ActiveMQConnectionFactory">
+            <property name="brokerURL" value="vm://localhost?create=false&amp;waitForStart=10000"
/>
+            <property name="userName" value="${activemq.username}"/>
+            <property name="password" value="${activemq.password}"/>
+            <property name="useSingleConnection" value="true" />
+          </bean>
+        </property>
     </bean>
 </beans>



Mime
View raw message