activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kai B <kai.bros...@kewill.com>
Subject Re: JMS to JMS Bridge
Date Tue, 15 Dec 2015 14:50:08 GMT
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.

Mime
View raw message