Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A1FFFB57 for ; Mon, 29 Apr 2013 20:26:18 +0000 (UTC) Received: (qmail 37142 invoked by uid 500); 29 Apr 2013 20:26:17 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 37099 invoked by uid 500); 29 Apr 2013 20:26:17 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 37050 invoked by uid 99); 29 Apr 2013 20:26:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Apr 2013 20:26:17 +0000 Date: Mon, 29 Apr 2013 20:26:17 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (AMQNET-425) Add support for updateClusterClients to Failover Transport MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQNET-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish reassigned AMQNET-425: ----------------------------------- Assignee: Timothy Bish (was: Jim Gomes) > Add support for updateClusterClients to Failover Transport > ---------------------------------------------------------- > > Key: AMQNET-425 > URL: https://issues.apache.org/jira/browse/AMQNET-425 > Project: ActiveMQ .Net > Issue Type: Improvement > Components: NMS > Affects Versions: 1.5.5, 1.5.6 > Environment: We have developed a NET4.0 application (Producer & Consumer) using: > -Apache.NMS 1.5.0 > -Apache.NMS.activeMQ 1.5.5 > vmware vsphere 4.1 > -CentOS 6 32bits (AQsrv1 & AQsrv2) > -JRE6 > -Fuse Message Broker v5.5.1 > Reporter: Marc Rodrigues > Assignee: Timothy Bish > > Hello, > The NMS failover client does not yet support the updateClusterClients options, so it won't respond to the list of brokers provided by the server. > The workaround is to provide the static list or use some other discovery mechanism like multicast. > Issue reported via forum : > Our goal is to use a network of brokers with failover and dynamic discovery (production environment will have around 100 brokers). > So we have configured 2 CentOS virtual machine for test: > vmware vsphere 4.1 > -CentOS 6 32bits (AQsrv1 & AQsrv2) > -JRE6 > -Fuse Message Broker v5.5.1 (see activemq.xml configuration at the end) > We have developed a NET4.0 application (Producer & Consumer) using: > -Apache.NMS 1.5.0 > -Apache.NMS.activeMQ 1.5.5 > If I use the following URI to connect: activemq:failover://(tcp://AQsrv1:61616,tcp://AQsrv2:61616)?transport.randomize=true&transport.startupMaxReconnectAttempts=0&transport.timeout=2000&nms.AsyncSend=true > -> when I stop the activeMQ process on AQsrv1: the failover works fine and application continue to send/consume messages on AQsrv2. > Now If I use the following URI: > activemq:failover://(tcp://AQsrv1:61616)?transport.randomize=true&transport.startupMaxReconnectAttempts=0&transport.timeout=2000&nms.AsyncSend=true > -> when I stop the activeMQ process on AQsrv1: the failover seems to not work anymore and my application is not able to connect to AQsrv2 automatically. > As I'm supposed to received a list of brokers (so AQsrv2) from AQsrv1 > > activemq.xml on both servers > > name="ncelab-activeMQ" > uri="multicast://default?group=ncelab" > dynamicOnly="true" > networkTTL="2" > duplex="true" > prefetchSize="1" > decreaseNetworkConsumerPriority="false" /> > > > > > > uri="tcp://0.0.0.0:61616" > discoveryUri="multicast://default?group=ncelab" > enableStatusMonitor="true" > rebalanceClusterClients="true" > updateClusterClients="true" > updateClusterClientsOnRemove="true" /> > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira