activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tybreizh29 <mlem...@vecsys.fr>
Subject Re: failover and cannot access queue
Date Wed, 27 Jan 2016 15:38:21 GMT
Hi Tim,
Thanks a lot for your response.
I was on another project, that's why I was sooo long to answer.
I now understand well that the message is passed from one server to another. 
I have difficulties to put all pieces together.
Unfortunately for me all leads to ActiveMQ FAQ, and i keep confused.

Right now I'm publishing to cluster1 with stomp (later I will on any
machine)
with java i'm using the failover
(failover:(tcp://msf01.site.com:62616,tcp://msf02.site.com:62616,tcp://cluster1.site.com:62616,tcp://amidala.site.com:62616)?timeout=10000'),
so some consumers are reading messages, some are not, because no message is
forwarded)

I thought the below config should make all messages be forwarded to all
destinations, but not really :(
I'm still stuck :/


   <broker xmlns="http://activemq.apache.org/schema/core"
brokerName="amidala.site.com" dataDirectory="${activemq.data}">
     <networkConnectors>
        <networkConnector name="SYSTEM1" duplex="true"
uri="static:(tcp://cluster1.site.com:62616)" userName="system"
password="pass" decreaseNetworkConsumerPriority="true"  >
                <dynamicallyIncludedDestinations>
                        <topic physicalName=">" />
                        <queue physicalName=">"/>
                </dynamicallyIncludedDestinations>
        </networkConnector>
        <networkConnector name="SYSTEM2" duplex="true"
uri="static:(tcp://amidala.site.com:62616)" userName="system"
password="pass" >
                <dynamicallyIncludedDestinations>
                        <topic physicalName=">"/>
                        <queue physicalName=">"/>
                </dynamicallyIncludedDestinations>
        </networkConnector>
        <networkConnector name="SYSTEM3" duplex="true"
uri="static:(tcp://msf01.site.com:62616)" userName="system" password="pass"
>
                <dynamicallyIncludedDestinations>
                        <topic physicalName=">"/>
                        <queue physicalName=">"/>
                </dynamicallyIncludedDestinations>
        </networkConnector>
        <networkConnector name="SYSTEM4" duplex="true"
uri="static:(tcp://msf02.site.com:62616)" userName="system" password="pass"
>
                <dynamicallyIncludedDestinations>
                        <topic physicalName=">"/>
                        <queue physicalName=">"/>
                </dynamicallyIncludedDestinations>
        </networkConnector>
     </networkConnectors>
     <transportConnectors>
        <transportConnector uri="tcp://cluster1.site.com:62619"/>
        <transportConnector uri="tcp://amidala.site.com:62619"/>
        <transportConnector uri="tcp://msf01.site.com:62619"/>
        <transportConnector uri="tcp://msf02.site.com:62619"/>
     </transportConnectors>




--
View this message in context: http://activemq.2283324.n4.nabble.com/failover-and-cannot-access-queue-tp4705622p4706506.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message