Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 73738 invoked from network); 12 May 2010 12:44:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 May 2010 12:44:08 -0000 Received: (qmail 48667 invoked by uid 500); 12 May 2010 12:44:07 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 48639 invoked by uid 500); 12 May 2010 12:44:07 -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 48631 invoked by uid 99); 12 May 2010 12:44:07 -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:44:07 +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:44:05 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4CChhFp019809 for ; Wed, 12 May 2010 12:43:44 GMT Message-ID: <3281299.5711273668223378.JavaMail.jira@thor> Date: Wed, 12 May 2010 08:43:43 -0400 (EDT) From: "Adrian Trenaman (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=59309#action_59309 ] Adrian Trenaman commented on AMQ-2729: -------------------------------------- Thanks Dejan for the super-quick response on this! I'm afraid I'd already tried moving the param to the outside of the failover brackets, and unfortunately this doesn't work :( Error is: {code} [java] Caught: javax.jms.JMSException: Could not create Transport. Reason: java.lang.IllegalArgumentException: Invalid connect arameters: {jms.prefetchPolicy.queuePrefetch=1} {code} > 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.