Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 9083 invoked from network); 21 Jun 2007 02:00:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jun 2007 02:00:08 -0000 Received: (qmail 95809 invoked by uid 500); 21 Jun 2007 02:00:04 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 95790 invoked by uid 500); 21 Jun 2007 02:00:04 -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 95765 invoked by uid 99); 21 Jun 2007 02:00:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 19:00:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 19:00:00 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1I1BxU-0002YK-3f for users@activemq.apache.org; Wed, 20 Jun 2007 18:59:40 -0700 Message-ID: <11225458.post@talk.nabble.com> Date: Wed, 20 Jun 2007 18:59:40 -0700 (PDT) From: Jiang To: users@activemq.apache.org Subject: Re: UDP buffer problem In-Reply-To: <11055860.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: zju_jjc@163.com References: <11055860.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I still not find the correct way to resolve this problem. I have changed the replayBufferCommandCount to 1000 and compiled the source code . Then I replaced the ReliableTransport.class in the lib. But when I run the client, it was the same. "Request for buffer xx is no longer present" in eclipse console and in windows cmd console it throw "duplicate message be discarded". Why ? Any one can give some help? Thanks Jiang wrote: > > I config UDP in activemq.xml to use udp transport. But When I register 20 > consumer and 1 producer in one destination, I find if I send several > messages , broker will throw: "Request for buffer xx is no longer present" > in console . After I view the udp code , I think maybe it is caused by the > udp buffer size( default 50 ) , what I think is correct ? How can I use > code to change the default size or maybe it can changed through > activemq.xml ? (When connection is created by connectionfactory I don't > find how to change the udp transport buffer size ) > -- View this message in context: http://www.nabble.com/UDP-buffer-problem-tf3899903s2354.html#a11225458 Sent from the ActiveMQ - User mailing list archive at Nabble.com.