git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@929179 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2010-03-30 15:50:40 +00:00
parent 2dd5b7737b
commit 45cb6a0c75
2 changed files with 16 additions and 4 deletions

View File

@ -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="userName" value="${activemq.username}"/> <property name="connectionFactory">
<property name="password" value="${activemq.password}"/> <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> </bean>
</beans> </beans>

View File

@ -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="userName" value="${activemq.username}"/> <property name="connectionFactory">
<property name="password" value="${activemq.password}"/> <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> </bean>
</beans> </beans>