Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 3312 invoked from network); 28 Oct 2009 13:03:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Oct 2009 13:03:50 -0000 Received: (qmail 80436 invoked by uid 500); 28 Oct 2009 13:03:50 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 80370 invoked by uid 500); 28 Oct 2009 13:03:49 -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 80360 invoked by uid 99); 28 Oct 2009 13:03:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 13:03:49 +0000 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 (nike.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, 28 Oct 2009 13:03:40 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1N38BL-00085n-Nb for users@activemq.apache.org; Wed, 28 Oct 2009 06:03:19 -0700 Message-ID: <26094263.post@talk.nabble.com> Date: Wed, 28 Oct 2009 06:03:19 -0700 (PDT) From: moreno9000 To: users@activemq.apache.org Subject: sendFailIfNoSpace=true, no JMSException for Producer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: moreno.mauri@italtel.it X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I'm using AMQ 5.3 with a Producer that sends 10.000 very small msg (1kb for msg, no persistence) to a queue. No consumers are listening to the queue. In activemq.xml this is System Usage configuration: AMQ throws the following exception after having received 20 msg: WARN | Async error occurred: javax.jms.ResourceAllocationException: Usage Manager memory limit reached. Stopping producer (ID:vlab_1_1_1-34012-1256728549176-0:0:1:1) to prevent flooding queue://NAM_QUEUE_01. See http://activemq.apache.org/producer-flow-control.html for more info javax.jms.ResourceAllocationException: Usage Manager memory limit reached. Stopping producer (ID:vlab_1_1_1-34012-1256728549176-0:0:1:1) to prevent flooding queue://NAM_QUEUE_01. See http://activemq.apache.org/producer-flow-control.html for more info This is ok but I also expected the Producer to receive a JMSException. It doesn't receive anything and goes on sending all 10.000 msg. After having sent all msg, AMQ console displays only 20 pending msg. A following consumer reads these 20 msg. This is the normal behaviour or Producer's sends had to fail (with an Exception) from 21th to 10000th attempt? Many thanks in advance for any reply. Moreno -- View this message in context: http://www.nabble.com/sendFailIfNoSpace%3Dtrue%2C-no-JMSException-for-Producer-tp26094263p26094263.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.