Hi,
I've got 4 machines running ActiveMQ, the config is  (names, ports changed):

<networkConnectors>
        <networkConnector name="SYSTEM1" duplex="true"
uri="static:(tcp://cluster1.aaa.com:222)" userName="system" password="">
                <dynamicallyIncludedDestinations>
                        <topic physicalName="outgoing.System1" />
                </dynamicallyIncludedDestinations>
        </networkConnector>
        <networkConnector name="SYSTEM2" duplex="true"
uri="static:(tcp://amidala.aaa.com:222)" userName="system" password="">
                <dynamicallyIncludedDestinations>
                        <topic physicalName="outgoing.System2"/>
                </dynamicallyIncludedDestinations>
        </networkConnector>
        <networkConnector name="SYSTEM3" duplex="true"
uri="static:(tcp://msf01.aaa.com:222)" userName="system" password="">
                <dynamicallyIncludedDestinations>
                        <topic physicalName="outgoing.System3"/>
                </dynamicallyIncludedDestinations>
        </networkConnector>
        <networkConnector name="SYSTEM4" duplex="true"
uri="static:(tcp://msf02.aaa.com:222)" userName="system" password="">
                <dynamicallyIncludedDestinations>
                        <topic physicalName="outgoing.System4"/>
                </dynamicallyIncludedDestinations>
        </networkConnector>
     </networkConnectors>


I write messages into a cluster1 queue using PHP and STOMP, I see the
message in cluster1 web console (jetty one).
I don't see the message on others web gui. They say cluster1 is the active
machine.

I want to read the message with java, the uri is:
'failover:(tcp://msf01.aaa.com:222,tcp://msf02.aaa.com:222,tcp://cluster1.aaa.com:222,tcp://amidala.aaa.com:222)?timeout=10000&jms.prefetchPolicy.queuePrefetch=1';

there is no message to read with this settings, 
if i put cluster1 as the first machine in the failover machine order, it
works, but like that I'm not sure the failover works.

what's wrong with my setting.
thanks for your help.
marc







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

Reply via email to