Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 24556 invoked from network); 12 Jul 2010 20:48:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Jul 2010 20:48:48 -0000 Received: (qmail 69953 invoked by uid 500); 12 Jul 2010 20:48:48 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 69906 invoked by uid 500); 12 Jul 2010 20:48:47 -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 69898 invoked by uid 99); 12 Jul 2010 20:48:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jul 2010 20:48:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jul 2010 20:48:44 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6CKepNs010967 for ; Mon, 12 Jul 2010 20:40:52 GMT Message-ID: <18070449.39991278967251806.JavaMail.jira@thor> Date: Mon, 12 Jul 2010 16:40:51 -0400 (EDT) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Subject: [jira] Created: (AMQNET-261) NMS URI handling in URISupport needs improvement. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org NMS URI handling in URISupport needs improvement. ------------------------------------------------- Key: AMQNET-261 URL: https://issues.apache.org/activemq/browse/AMQNET-261 Project: ActiveMQ .Net Issue Type: Improvement Affects Versions: 1.3.0 Reporter: Timothy Bish Assignee: Jim Gomes Fix For: 1.4.0 The URI handling in NMS that allows for composite URIs and for setting options via the URI needs some work. 1. When setting options for the connection when a Failover URI is specified you receive and exception because the options aren't filter out based on the prefix, so for instance a value of connection=asyncSend=true will cause an exception in the failover URI case but not in a plain TCP uri case. Example: The following URI additional test case added to NMSConnectionFactoryTest should work, but it gives an exception. {noformat} [Row("activemq:failover:(tcp://${activemqhost}:61616)?connection.asyncSend=true")] {noformat} 2. Those referring to the AMQ docs will assume that URIs like the one's below should work but will get an exception instead. {noformat} failover://(tcp://localhost:61616,tcp://remotehost:61616)?initialReconnectDelay=100 failover://tcp://primary:61616 {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.