You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by stewchicken <st...@gmail.com> on 2015/11/12 16:21:53 UTC
Re: JMS to JMS Bridge
is your problem solved?
i have exact same problem as yours.
if you find the solution could you please share it with me?
Thanks
--
View this message in context: http://activemq.2283324.n4.nabble.com/JMS-to-JMS-Bridge-tp4679181p4703904.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: JMS to JMS Bridge
Posted by Kai B <ka...@kewill.com>.
I think the solution is simply to create an explicit ConnectionFactory and
set it as the localQueueConnectionFactory on the bridge:
<bean id="localConnectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="vm://localhost?create=false" />
<property name="userName" value="${activemq.username}" />
<property name="password" value="${activemq.password}" />
</bean>
...
<jmsQueueConnector
outboundQueueConnectionFactory="#remoteConnectionFactory"
localQueueConnectionFactory="#localConnectionFactory">
...
--
View this message in context: http://activemq.2283324.n4.nabble.com/JMS-to-JMS-Bridge-tp4679181p4704983.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: JMS to JMS Bridge
Posted by Kai B <ka...@kewill.com>.
I think the solution is simply to create an explicit ConnectionFactory and
set it as the localQueueConnectionFactory on the bridge:
<bean id="localConnectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="vm://localhost?create=false" />
<property name="userName" value="${activemq.username}" />
<property name="password" value="${activemq.password}" />
</bean>
...
<jmsQueueConnector
outboundQueueConnectionFactory="#remoteConnectionFactory"
localQueueConnectionFactory="#localConnectionFactory">
...
--
View this message in context: http://activemq.2283324.n4.nabble.com/JMS-to-JMS-Bridge-tp4679181p4704980.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.