Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 91195 invoked from network); 22 Aug 2006 08:28:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Aug 2006 08:28:34 -0000 Received: (qmail 51016 invoked by uid 500); 22 Aug 2006 08:28:33 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 50992 invoked by uid 500); 22 Aug 2006 08:28:33 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 50983 invoked by uid 99); 22 Aug 2006 08:28:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 01:28:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 01:28:33 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5632A7142FA for ; Tue, 22 Aug 2006 08:25:23 +0000 (GMT) Message-ID: <26458294.1156235123350.JavaMail.jira@brutus> Date: Tue, 22 Aug 2006 01:25:23 -0700 (PDT) From: "John Heitmann (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Commented: (AMQ-515) Add option so that producer.send() throws an exception if it would block due to the queue/broker being full. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ https://issues.apache.org/activemq/browse/AMQ-515?page=comments#action_36821 ] John Heitmann commented on AMQ-515: ----------------------------------- I'm attaching a feature we're using to get 90% of this. It's a per-UsageManager setting that configures whether sends will block on the usage manager (the default/old way) or get an exception thrown back to the producer. Because it's on a usage manager the setting can be applied per destination. I'd prefer this setting to be set on the producer side and passed over the wire, but I don't see a clean way to add it in that wouldn't require an openwire version bump, so the usage manager config is a compromise. > Add option so that producer.send() throws an exception if it would block due to the queue/broker being full. > ------------------------------------------------------------------------------------------------------------ > > Key: AMQ-515 > URL: https://issues.apache.org/activemq/browse/AMQ-515 > Project: ActiveMQ > Issue Type: New Feature > Components: JMS client, Broker > Reporter: Hiram Chirino > Assigned To: John Heitmann > Fix For: 4.2 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira