You want your master slave to use "master/slave" then you tell your clients about the failover, also look at these pages:
http://activemq.apache.org/masterslave.html http://activemq.apache.org/jdbc-master-slave.html (Since you mentioned DB2) http://activemq.apache.org/shared-file-system-master-slave.html http://activemq.apache.org/failover-transport-reference.html Note the This is new in version 5.4: Down on the page as well. Cheers! On May 12, 2011, at 12:28 AM, archa wrote: > Can you tell me where exactly to mention the failover syntax. > Eg: > failover:(tcp://primary:61616,tcp://secondary:61616)?randomize=false > > Should this go in the transportconnector tag ? > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Native-Clustering-in-ActiveMQ-tp3516488p3516585.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.