mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2448 - a bit better workaround
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@929179 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2dd5b7737b
commit
45cb6a0c75
|
@ -53,7 +53,13 @@
|
||||||
|
|
||||||
<!-- configure the camel activemq component to use the current broker -->
|
<!-- configure the camel activemq component to use the current broker -->
|
||||||
<bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent" >
|
<bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent" >
|
||||||
|
<property name="connectionFactory">
|
||||||
|
<bean class="org.apache.activemq.ActiveMQConnectionFactory">
|
||||||
|
<property name="brokerURL" value="vm://localhost?create=false&waitForStart=10000" />
|
||||||
<property name="userName" value="${activemq.username}"/>
|
<property name="userName" value="${activemq.username}"/>
|
||||||
<property name="password" value="${activemq.password}"/>
|
<property name="password" value="${activemq.password}"/>
|
||||||
|
<property name="useSingleConnection" value="true" />
|
||||||
|
</bean>
|
||||||
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
</beans>
|
</beans>
|
||||||
|
|
|
@ -51,7 +51,13 @@
|
||||||
|
|
||||||
<!-- configure the camel activemq component to use the current broker -->
|
<!-- configure the camel activemq component to use the current broker -->
|
||||||
<bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent" >
|
<bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent" >
|
||||||
|
<property name="connectionFactory">
|
||||||
|
<bean class="org.apache.activemq.ActiveMQConnectionFactory">
|
||||||
|
<property name="brokerURL" value="vm://localhost?create=false&waitForStart=10000" />
|
||||||
<property name="userName" value="${activemq.username}"/>
|
<property name="userName" value="${activemq.username}"/>
|
||||||
<property name="password" value="${activemq.password}"/>
|
<property name="password" value="${activemq.password}"/>
|
||||||
|
<property name="useSingleConnection" value="true" />
|
||||||
|
</bean>
|
||||||
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
</beans>
|
</beans>
|
||||||
|
|
Loading…
Reference in New Issue