[ 
https://issues.apache.org/activemq/browse/AMQ-955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rob Davies resolved AMQ-955.
----------------------------

    Fix Version/s: 5.1.0
                       (was: 5.2.0)
       Resolution: Fixed

If randomize is false on the failover:// url, we no longer try and connect to 
the first in the list (the just failed one) first.
Config/code looks good with this issue btw.

> Failover connection not working with master slave configuration
> ---------------------------------------------------------------
>
>                 Key: AMQ-955
>                 URL: https://issues.apache.org/activemq/browse/AMQ-955
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker, JMS client
>    Affects Versions: 4.0.1
>         Environment: Red Hat Enterprise Linux
>            Reporter: Vikas Naredi
>            Assignee: Rob Davies
>             Fix For: 5.1.0
>
>         Attachments: masterSlave.zip
>
>
> We are trying to set up master-slave configuration using ActiveMQ 4.0.1. We 
> have tried our best to configure it as directed by the docs but couldn't 
> achieve the desired result as the failover does not operate if the master 
> goes down.
> We have attached our configuration files and following are the steps to 
> reproduce the problem.
> 1. Start the two brokers with masterSpike.xml and masterSlave.xml.
> 2. Run the spike app SpikeMasterSlaveApp. It works fine. 
> 3. Now kill the master broker and run our spike application again.
> 4. It doesn't establish connection with the slave.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to