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 E3146D5BE for ; Mon, 30 Jul 2012 22:48:34 +0000 (UTC) Received: (qmail 5934 invoked by uid 500); 30 Jul 2012 22:48:34 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 5903 invoked by uid 500); 30 Jul 2012 22:48:34 -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 5894 invoked by uid 99); 30 Jul 2012 22:48:34 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2012 22:48:34 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 7149914000E for ; Mon, 30 Jul 2012 22:48:34 +0000 (UTC) Date: Mon, 30 Jul 2012 22:48:33 +0000 (UTC) From: "Mikhail Melamud (JIRA)" To: dev@activemq.apache.org Message-ID: <2123451205.118632.1343688514466.JavaMail.jiratomcat@issues-vm> In-Reply-To: <969362748.118620.1343688274621.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (AMQ-3953) org.apache.activemq.util.URISupport.isCompositeURI doesn't work properly. 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/AMQ-3953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikhail Melamud updated AMQ-3953: --------------------------------- Attachment: URISupportTest-patch.txt Unit test patch > org.apache.activemq.util.URISupport.isCompositeURI doesn't work properly. > ------------------------------------------------------------------------- > > Key: AMQ-3953 > URL: https://issues.apache.org/jira/browse/AMQ-3953 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.6.0 > Reporter: Mikhail Melamud > Attachments: URISupportTest-patch.txt > > > URISupport.isCompositeURI(URI uri) is not implemented correctly. It doesn't for the case when a scheme part contains "//" (double slashes). In the simple test where a failover uri contains two url's:{color:blue} _failover://(tcp://bla:61616,tcp://bla:61617)}_{color} and is the composite URI, URISupport.isCompositeURI(uri) returns false... The general problem is that the definition of a "composite URI" is pretty loose and is not defined formally... According to http://activemq.2283324.n4.nabble.com/composite-uri-td4654365.html {quote}uri is composite if the scheme is followed by (..){quote} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira