I am using
static:failover:(tcp://client1:61616,tcp://client2:61616)?randomize=false&maxReconnectAttempts=-1

A run through of the test I performed is

Started all servers, Server1 S1, Server2 S2, Client1 C1 and Cleint2 C2.
S1 and C1 are Master and S2 and C2 are slaves
connections checked and S1 is connected to C1
subscriber started using Failover connection to C1,C2 and connects to C1
Message sent and processed by subscriber.
Subscriber stopped.
Add message
Can see message on C1 Server topic
C1 stopped.
Can see message on C2 Server topic
Network Connector on S1 still shows as connected to C1 server
DynamicProducer on C2 shows as connected to SRV01->CLI01 on CLI02, same as
it was before server was stopped
Add message this is received and available on the topic
Add another message and this makes it to S1 but does not get forwarded to C1
and is lost.






--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Master-Slave-and-store-and-forward-topic-tp4704070p4704093.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to