Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EAD08D9FE for ; Wed, 8 Aug 2012 09:31:28 +0000 (UTC) Received: (qmail 62068 invoked by uid 500); 8 Aug 2012 09:31:28 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 62008 invoked by uid 500); 8 Aug 2012 09:31:28 -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 61992 invoked by uid 99); 8 Aug 2012 09:31:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2012 09:31:27 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gary.tully@gmail.com designates 209.85.212.173 as permitted sender) Received: from [209.85.212.173] (HELO mail-wi0-f173.google.com) (209.85.212.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2012 09:31:22 +0000 Received: by wibhm6 with SMTP id hm6so3015255wib.14 for ; Wed, 08 Aug 2012 02:31:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ARc/ycPDUBEPUjfTLxsWgCOnAaIbVVzLOTGz2vwllq0=; b=vP9NCG6SYWZ3mAdYW6ma054iAZQp/SCOHNGURKaur8mx/zL9NLnmwDhfiS+j1NAi2k GeOJjpcStnpd4qxYNaf0AOjkvDAF8k5KOc6kMbH+innlExmp5R14fBc2D4LA4H8I72Y3 EvCF5y5dEjKgKH/ZZeg1UecVgdyEIvI2EaOBYo5jTIzt7tX4DcMWfGUcJVJW7XE1VJgs m0pL8Orn0NbI0tiMP7p1BGhV2bP0YR3FPztK4OD3YvgKkpmrYHBvEQyDwCrTwh7FXw1L Qz54LAtB7k3L6TbvvLXEdJromXquprb7vjIt/0rtUdBdU9p5wjiDXxI3B2MChajjxm1Z LD+w== MIME-Version: 1.0 Received: by 10.216.131.204 with SMTP id m54mr8858642wei.93.1344418262040; Wed, 08 Aug 2012 02:31:02 -0700 (PDT) Received: by 10.194.54.66 with HTTP; Wed, 8 Aug 2012 02:31:02 -0700 (PDT) In-Reply-To: <1344413683634-4654884.post@n4.nabble.com> References: <1301940712894-3426201.post@n4.nabble.com> <1306267918220-3548101.post@n4.nabble.com> <1338963111647-4653010.post@n4.nabble.com> <1338984817443-4653021.post@n4.nabble.com> <1344407125813-4654879.post@n4.nabble.com> <1344413683634-4654884.post@n4.nabble.com> Date: Wed, 8 Aug 2012 10:31:02 +0100 Message-ID: Subject: Re: Queue/Message Fairness as oppose to Client Fairness From: Gary Tully To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 remove optimizedDispatch, leave it at the default false, otherwise the send thread is used to dispatch messages. On 8 August 2012 09:14, tapan.thapa wrote: > Hello, > > I have tested this functionality with ActiveMQ 5.6.0 and Java driver as > well. > > Java driver is still better and receiving message from all the queues but > not at the configured value. I have configured maxIterationsPerRun="1" > however java consumer is receiving almost 20 sometime 10 message from one > queue and then from second,third so on queue. > > Kindly suggest. > > My Settings under activemq.xml are: > optimizedDispatch="true" maxPageSize="1"> > > > > > > Regards > Tapan Thapa > > > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/Queue-Message-Fairness-as-oppose-to-Client-Fairness-tp3423122p4654884.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://fusesource.com http://blog.garytully.com