Please refer http://activemq.2283324.n4.nabble.com/Active-MQ-Master-Slave-Config-Not-working-td4728550.html#a4728794 for more details
When configured as Shared File System Master/Slave, the following two issues observed.
1) When Master is down, Java clients using "failover:(tcp://master:port,tcp:/slave:port)" URL are not falling back / connecting to secondary. They are hanging / waiting for connection.
If I use timeout like "failover:(tcp://master:port,tcp:/slave:port)?randomize=false&timeout=<timeout in ms>", if I use 1 mnt as timeout, I am getting error saying connection timeout when master is stopped/killed. If I use 5 mnts, it is again hanging.
2) If the URL is "failover:(tcp://slave:port,tcp:/master:port)", it is hanging/waiting infinitely at connection.start();