You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2011/04/01 13:22:17 UTC

[jira] [Updated] (AMQ-2375) Allow a group preference scheme for failover urls

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

Gary Tully updated AMQ-2375:
----------------------------

    Fix Version/s:     (was: 5.5.0)
                   5.6.0

> Allow a group preference scheme for failover urls
> -------------------------------------------------
>
>                 Key: AMQ-2375
>                 URL: https://issues.apache.org/jira/browse/AMQ-2375
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: JMS client
>         Environment: All
>            Reporter: Andreas Gies
>             Fix For: 5.6.0
>
>
> This enhancement request comes from working with a network of brokers, where each node in itself has a master/slave fault tolerant configuration. 
> In a 2x2 setup currently you would have a failover url on the client side consisting of 4 single urls (2 masters, 2 slaves). Once a broker dies the JMS client would reconnect 
> using one of the 4 urls either randomly chosen or in sequence of the url definition.
> That might cause the client to reconnect to a broker that belongs to the other master/slave pair. As master/slave is designed to preserve the session state etc, it would be preferable 
> that the client tries to connect to the new master in its own master/slave group and only if that fails, connect to another broker.
> I would imagine a nested scheme of configurations, something like:
> failover:(failover:(master1,slave1)?randomize=false,failover:(master2,slave2)?randomize=false)?randomize=true 
> instead of 
> failover:(master1,slave1,master2,slave2)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira