Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 50985 invoked from network); 26 Oct 2010 17:07:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Oct 2010 17:07:02 -0000 Received: (qmail 308 invoked by uid 500); 26 Oct 2010 17:07:01 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 282 invoked by uid 500); 26 Oct 2010 17:07:01 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 274 invoked by uid 500); 26 Oct 2010 17:07:01 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 271 invoked by uid 99); 26 Oct 2010 17:07:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Oct 2010 17:07:01 +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; Tue, 26 Oct 2010 17:07:01 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9QH6eru018475 for ; Tue, 26 Oct 2010 17:06:41 GMT Message-ID: <13953190.68701288112800892.JavaMail.jira@thor> Date: Tue, 26 Oct 2010 13:06:40 -0400 (EDT) From: "Ashwin Karpe (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-3197) Add a new Load Balancing algorithm that provides weighted round-robin and weighted random support In-Reply-To: <30859042.45641286289940439.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/CAMEL-3197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62844#action_62844 ] Ashwin Karpe commented on CAMEL-3197: ------------------------------------- Hi Claus, I did not support float values as weights since it would make things a lot more complicated and computationally challenging. The reason I used ":" is because I was expressing a ratio and used it as an "is to" operator . This should not be hard to change. I will need to change in 1 or 2 places. In any case, it is possible to use any delimiter of choice. If you feel a strong preferece for "," as the delimiter, I will change the default delimiter to ",". Please let me know Cheers, Ashwin... > Add a new Load Balancing algorithm that provides weighted round-robin and weighted random support > --------------------------------------------------------------------------------------------------- > > Key: CAMEL-3197 > URL: https://issues.apache.org/activemq/browse/CAMEL-3197 > Project: Apache Camel > Issue Type: New Feature > Reporter: Ashwin Karpe > Assignee: Ashwin Karpe > Fix For: 2.6.0 > > Attachments: CAMEL-3197-CoreUpdate-20101025.patch, CAMEL-3197-SpringUpdate-20101025.patch, CAMEL-3197-SpringUT.patch, CAMEL-3197-SpringUTRelatedCamelCore.patch, WeightedLB.patch > > > Camel currently does not offer load balancing based on user defined percentage endpoint use (or weighted round-robin or weighted random use) with respect to other endpoints > Develop ability in load balancer send to the endpoint based on percentage/weight specified by user. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.