From users-return-19010-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Mon May 11 10:20:26 2009 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 34066 invoked from network); 11 May 2009 10:20:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 May 2009 10:20:26 -0000 Received: (qmail 55920 invoked by uid 500); 11 May 2009 10:20:26 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 55866 invoked by uid 500); 11 May 2009 10:20:26 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 55856 invoked by uid 99); 11 May 2009 10:20:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 May 2009 10:20:25 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [82.194.76.28] (HELO altiria.com) (82.194.76.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 May 2009 10:20:15 +0000 Received: (qmail 9665 invoked from network); 11 May 2009 12:19:52 +0200 Received: from 213.37.154.24.static.user.ono.com (HELO ?192.168.22.125?) (213.37.154.24) by altiria.com with SMTP; 11 May 2009 12:19:52 +0200 Message-ID: <4A07FBB6.3070303@altiria.com> Date: Mon, 11 May 2009 12:19:34 +0200 From: =?ISO-8859-1?Q?Diego_Rodr=EDguez_Mart=EDn?= User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: users@activemq.apache.org Subject: Failover backOffMultiplier Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am using ActiveMQ 5.2.0 in a windows box. I have been trying to set backOffMultiplier parameter when using failover high level protocol through a ActiveMQConnectionFactory. When I start the connection factory it complains about illegal parameter backOffMultiplier. I have been looking through the code, and I have seen that every parameter in connection url must have a setter method, (findSetterMethod in IntrospectionSupport) to be a valid parameter. So I looked at org.apache.activemq.transport.failover.FailoverTransport. Although it has an attribute named backOffMultiplier, setter for that method is named setReconnectDelayExponent. I have tried setting reconnectDelayExponent in the connection url and everything has worked ok. Where is the mistake? should the code be changed or the docs (http://activemq.apache.org/failover-transport-reference.html)? -- ------------------------------------------------------------- Diego Rodríguez Martín (drodriguez@altiria.com) ALTIRIA TIC - Servicios SMS - Desarrollo Web http://www.altiria.com -------------------------------------------------------------