activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anderson Costa <anderson.co...@gfs.com>
Subject Artemis Bridge Functionality
Date Mon, 31 Oct 2016 17:18:45 GMT
Hello all,

I'm trying to create a configuration on Artemis where I send messages to a
queue that diverts to a new address and then bridge them to 2 different
consumers on  different brokers, here is the configuration I have for
broker.xml. I created trying to follow the divert example:


 <divert name="priceUpdate02-divert">
            <routing-name>priceUpdate02-divert</routing-name>
            <address>jms.queue.priceUpdate02</address>

<forwarding-address>jms.topic.priceUpdate02Received</forwarding-address>
            <exclusive>false</exclusive>
         </divert>
</diverts>

<bridges>
         <bridge name="ordersBridge_teammaster01">
            <queue-name>jms.topic.priceUpdate02Received</queue-name>

<forwarding-address>jms.queue.priceUpdateForward</forwarding-address>
            <reconnect-attempts>-1</reconnect-attempts>
            <static-connectors>
               <connector-ref>remote-connector-teammaster01</connector-ref>
            </static-connectors>
         </bridge>
         <bridge name="ordersBridge_teammaster02">
            <queue-name>jms.topic.priceUpdate02Received</queue-name>

<forwarding-address>jms.queue.priceUpdateForward</forwarding-address>
            <reconnect-attempts>-1</reconnect-attempts>
            <static-connectors>
               <connector-ref>remote-connector-teammaster02</connector-ref>
            </static-connectors>
         </bridge>
</bridges>

The issue I have noticed is, instead of sending copies of the messages for
both consumers teammaster01 and teammaster02 it is load balancing the
messages between them - 50/50.
I could not find in the documentation how to solve this situation as I
would like both brokers to receive copies of the same messages.

Any inputs would be very appreciated.

Thank you.

Anderson G Costa | anderson.costa@gfs.com
Street 1300 Gezon Parkway SW | Wyoming, MI 49509-9300
Mail: Mail Code 12003-77931 | PO Box 1787 | Grand Rapids, MI 49501-1787
Gordon Food Service, Inc. | Information Services | www.gfs.com
F: 616-717-6916

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message