Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 44243 invoked from network); 5 Jan 2007 10:20:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jan 2007 10:20:43 -0000 Received: (qmail 41389 invoked by uid 500); 5 Jan 2007 10:20:49 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 41255 invoked by uid 500); 5 Jan 2007 10:20:49 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 41240 invoked by uid 99); 5 Jan 2007 10:20:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jan 2007 02:20:49 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 66.249.92.175 as permitted sender) Received: from [66.249.92.175] (HELO ug-out-1314.google.com) (66.249.92.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jan 2007 02:20:40 -0800 Received: by ug-out-1314.google.com with SMTP id m2so7113284ugc for ; Fri, 05 Jan 2007 02:20:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PYehANcZ9S7lTM8kpQssN5waWZY2YY0hCGbY23uMUfSvOqxdruT1maj5PdRgMoDELpf4FQPkNeWIdZpih2Rej9IE+G/XOBVM9Srj2YpmNVs4BwkP6oeAIUiz1MdPNjVwuF+OatPOlyulFeadsZd+LI4gZjmhrbOlARHtvOrLb3g= Received: by 10.78.160.2 with SMTP id i2mr6530039hue.1167992419444; Fri, 05 Jan 2007 02:20:19 -0800 (PST) Received: by 10.78.155.6 with HTTP; Fri, 5 Jan 2007 02:20:19 -0800 (PST) Message-ID: Date: Fri, 5 Jan 2007 10:20:19 +0000 From: "James Strachan" To: activemq-users@geronimo.apache.org Subject: Re: Is there an ACK mechanism when sender sent a message to broker? In-Reply-To: <8172037.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8172037.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org On 1/5/07, Lok Yu wrote: > > I have a few questions which hope experts help me to answer > > 1. Is there an ACK mechanism when sender sent a message to broker? In OpenWire on all commands a client can ask for a receipt of the operation; so you can receive a receipt when the broker has processed any send message. This is used for persistent messaging to know how long to block a client doing a synchronous send. > 2. Is it possible that client not ACK the broker and broker will push > content to client again? A consumer can hog a message and not ACK it, yes. Though as soon as the client disconnects the message is redelivered. We've talked about having a timeout on messages so any consumer which doesn't ACK a message within some time period will be automatically detected and closed by the broker. -- James ------- http://radio.weblogs.com/0112098/