From dev-return-14218-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Thu Feb 05 22:54:28 2009 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 84067 invoked from network); 5 Feb 2009 22:54:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2009 22:54:28 -0000 Received: (qmail 74311 invoked by uid 500); 5 Feb 2009 22:54:27 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 74285 invoked by uid 500); 5 Feb 2009 22:54:27 -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 74274 invoked by uid 99); 5 Feb 2009 22:54:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2009 14:54:27 -0800 X-ASF-Spam-Status: No, hits=-1999.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2009 22:54:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6AE87234C495 for ; Thu, 5 Feb 2009 14:53:59 -0800 (PST) Message-ID: <482869537.1233874439436.JavaMail.jira@brutus> Date: Thu, 5 Feb 2009 14:53:59 -0800 (PST) From: "Jim Gomes (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQNET-140) Incorrect parsing of failover URI In-Reply-To: <1872684438.1233763139410.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQNET-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Gomes updated AMQNET-140: ----------------------------- Component/s: ActiveMQ Client Description: On the subject of uri syntax, I tried the following: "activemq:failover:(tcp://localhost:61616,tcp://localhost:61626,tcp://localhost:61636)" And it did not work. I stepped into the code and I believe the splitComponents method in the URISupport.cs class has a bug. The returned value from that method, a String[] contains: components[0] == tcp://localhost:61616 components[1] == tcp://localhost:61626,tcp://localhost:61636 components[2] == tcp://localhost:61636 This fails downstream because the port number cannot be parsed. See details at: http://www.nabble.com/Re%3A--Apache.NMS.ActiveMQ-using-FailoverTransport-p21833315.html was: See details at: http://www.nabble.com/Re%3A--Apache.NMS.ActiveMQ-using-FailoverTransport-p21833315.html Affects Version/s: 1.1 Fix Version/s: 1.1 Added original bug description from Nabble message. > Incorrect parsing of failover URI > --------------------------------- > > Key: AMQNET-140 > URL: https://issues.apache.org/activemq/browse/AMQNET-140 > Project: ActiveMQ .Net > Issue Type: Bug > Components: ActiveMQ Client > Affects Versions: 1.1 > Reporter: Mark Keenan > Assignee: Jim Gomes > Fix For: 1.1 > > > On the subject of uri syntax, I tried the following: > "activemq:failover:(tcp://localhost:61616,tcp://localhost:61626,tcp://localhost:61636)" > And it did not work. I stepped into the code and I believe the splitComponents method in the URISupport.cs class has a bug. The returned value from that method, a String[] contains: > components[0] == tcp://localhost:61616 > components[1] == tcp://localhost:61626,tcp://localhost:61636 > components[2] == tcp://localhost:61636 > This fails downstream because the port number cannot be parsed. > See details at: http://www.nabble.com/Re%3A--Apache.NMS.ActiveMQ-using-FailoverTransport-p21833315.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.