activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ying (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-2071) masterConnectorURI using failover
Date Fri, 20 Feb 2009 15:36:00 GMT

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

ying updated AMQ-2071:
----------------------

    Description: 
We have a use case of configuring two pair of master/slave as follows:
A-master/A-slave
B-master/B-slave

and for client(producer/consumer) we use failover://(tcp://A-master, tcp://B-master) so A-slave
and B-slave only is used to replicate the data their master receives. In this case, we want
to use failover://(tcp://A-master) as masterConnectorURI for A-slave, similar to B. so that
when A-master goes down and gets restarted, A-slave will be able to reconnect so we don't
need to do anything with A-slave when A-master is down and up.

Attached patch is based on tags/activemq-5.2.0 intended to address this, please review it
and I will appreciate it can be applied to the trunk ( tags and trunk has the same previous
file). Please let me know if you have any question regarding this. Thank you

patches are at https://issues.apache.org/activemq/browse/AMQ-2070

AMQ-2070 and AMQ-2071 are related because if you cannot use failover as uri in masterConnectorURI
and you start the slave before master, you will have issue. failover takes care of that.


  was:
We have a use case of configuring two pair of master/slave as follows:
A-master/A-slave
B-master/B-slave

and for client(producer/consumer) we use failover://(tcp://A-master, tcp://B-master) so A-slave
and B-slave only is used to replicate the data their master receives. In this case, we want
to use failover://(tcp://A-master) as masterConnectorURI for A-slave, similar to B. so that
when A-master goes down and gets restarted, A-slave will be able to reconnect so we don't
need to do anything with A-slave when A-master is down and up.

Attached patch is based on tags/activemq-5.2.0 intended to address this, please review it
and I will appreciate it can be applied to the trunk ( tags and trunk has the same previous
file). Please let me know if you have any question regarding this. Thank you


> masterConnectorURI using failover
> ---------------------------------
>
>                 Key: AMQ-2071
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2071
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Connector
>    Affects Versions: 5.2.0
>            Reporter: ying
>
> We have a use case of configuring two pair of master/slave as follows:
> A-master/A-slave
> B-master/B-slave
> and for client(producer/consumer) we use failover://(tcp://A-master, tcp://B-master)
so A-slave and B-slave only is used to replicate the data their master receives. In this case,
we want to use failover://(tcp://A-master) as masterConnectorURI for A-slave, similar to B.
so that when A-master goes down and gets restarted, A-slave will be able to reconnect so we
don't need to do anything with A-slave when A-master is down and up.
> Attached patch is based on tags/activemq-5.2.0 intended to address this, please review
it and I will appreciate it can be applied to the trunk ( tags and trunk has the same previous
file). Please let me know if you have any question regarding this. Thank you
> patches are at https://issues.apache.org/activemq/browse/AMQ-2070
> AMQ-2070 and AMQ-2071 are related because if you cannot use failover as uri in masterConnectorURI
and you start the slave before master, you will have issue. failover takes care of that.

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


Mime
View raw message