Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 75998 invoked from network); 12 May 2010 12:56:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 May 2010 12:56:09 -0000 Received: (qmail 64519 invoked by uid 500); 12 May 2010 12:56:09 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 64487 invoked by uid 500); 12 May 2010 12:56:09 -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 64479 invoked by uid 99); 12 May 2010 12:56:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 12:56:09 +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; Wed, 12 May 2010 12:56:07 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4CCtjqj019889 for ; Wed, 12 May 2010 12:55:46 GMT Message-ID: <1615615.5751273668945715.JavaMail.jira@thor> Date: Wed, 12 May 2010 08:55:45 -0400 (EDT) From: "Dejan Bosanac (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-2729) Dot-separated prefetch configuration variable rejected by failover transport URI In-Reply-To: <17857210.5601273667263449.JavaMail.jira@thor> 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 [ https://issues.apache.org/activemq/browse/AMQ-2729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59310#action_59310 ] Dejan Bosanac commented on AMQ-2729: ------------------------------------ I just tested it more ... my original test was on the trunk and it seems that it works there. Just tried it on 5.3.0 and it gives me the exception you experienced. I'm trying to locate the issue that fixed it. > Dot-separated prefetch configuration variable rejected by failover transport URI > -------------------------------------------------------------------------------- > > Key: AMQ-2729 > URL: https://issues.apache.org/activemq/browse/AMQ-2729 > Project: ActiveMQ > Issue Type: Bug > Components: Connector > Affects Versions: 5.3.2 > Reporter: Adrian Trenaman > > If you set the queue prefetch policy on a failover connection string, you get an exception saying that the policy is not a valid configuration option. > {code} > failover://(tcp://localhost:61616?jms.prefetchPolicy.queuePrefetch=1) > {code} > To test, simply modify the URL in the example/build.xml file from an installation of ActiveMQ, and then run the producer using 'ant producer'. I think that this may be related to the fact that the variable in question - 'jms.prefetchPolicy.queuePrefetch' - has dots (periods) in the name. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.