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 3D35911305 for ; Wed, 11 Jun 2014 07:57:11 +0000 (UTC) Received: (qmail 98136 invoked by uid 500); 11 Jun 2014 07:57:10 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 98083 invoked by uid 500); 11 Jun 2014 07:57:10 -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 98072 invoked by uid 99); 11 Jun 2014 07:57:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jun 2014 07:57:10 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_IMAGE_ONLY_24,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rajdavies@gmail.com designates 74.125.82.182 as permitted sender) Received: from [74.125.82.182] (HELO mail-we0-f182.google.com) (74.125.82.182) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jun 2014 07:57:04 +0000 Received: by mail-we0-f182.google.com with SMTP id q59so3417104wes.13 for ; Wed, 11 Jun 2014 00:56:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=67v9HynCamF4fKSoq3TbpL7NoFuua/eMXT26chFnW+4=; b=HNc6jknDX6TQR5PrihH32gL2WfAgyU7cQRmHwXSTQBKNEuRPGcxTalYn8WfPdvbkAL fkdlQf71qx3NMumRNhCfzlr5kf2s5BYmtlYs7pAwnE8WwXSuKokLuBdjHXD6BrFFy3qs weKXDct5srDa2hAdUoDr55/uWgx/0jv8yhKFw0u/QpAeLjuEF/Kcj6jKPgR/U6khAjtk xoS/vr6ddV2s8JyfZRFJz7PvxuoyqPZvsmD5TSfiUdeDXgkQvyDvU7Gl6VWNSMLpoHhK 46AcKA75GzqdMmnq6zhTeDfIlItzq0PUBXMdiuluwcefA3m4aurAXbTsvpsAu72fo34j Gbuw== X-Received: by 10.180.91.104 with SMTP id cd8mr45327654wib.0.1402473402941; Wed, 11 Jun 2014 00:56:42 -0700 (PDT) Received: from rajdmac.local (host86-161-232-33.range86-161.btcentralplus.com. [86.161.232.33]) by mx.google.com with ESMTPSA id u1sm25505004wia.16.2014.06.11.00.56.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Jun 2014 00:56:42 -0700 (PDT) Message-ID: <53980BB7.8020809@gmail.com> Date: Wed, 11 Jun 2014 08:56:39 +0100 From: Rob Davies User-Agent: Postbox 3.0.10 (Macintosh/20140526) MIME-Version: 1.0 To: users@activemq.apache.org Subject: Re: How long do I have to acknowledge() a message? References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------060302010306000202030400" X-Virus-Checked: Checked by ClamAV on apache.org --------------060302010306000202030400 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit The broker holds state about unacknowledged messages - and will hold that state until either the broker shuts down or the client disappears. Remember that acknowleding a message will acknowledge all messages consumed by the client's Session. Depending on what your doing, you may want to use individual acknowledge, which is an ActiveMQ specific feature. > Kevin Burton > 11 June 2014 06:57 > I can't find any documentation on how long I have to manually > acknowledge a > message when auto ack is disabled. > > I need about 2 minutes before I acknowledge() a message as I have to > process it and make sure that it's completed on my end. > > Then I can ack… but how long do I have? Where is this set? > > I assume there is documentation on the subject but I'm unable to find it. > --------------060302010306000202030400 Content-Type: multipart/related; boundary="------------060800060805050304030900" --------------060800060805050304030900 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit The broker holds state about unacknowledged messages - and will hold that state until either the broker shuts down or the client disappears.
Remember that acknowleding a message will acknowledge all messages consumed by the client's Session. Depending on what your doing, you may want to use individual acknowledge, which is an ActiveMQ specific feature.

11 June 2014 06:57
I can't find any documentation on how long I have to manually acknowledge a
message when auto ack is disabled.

I need about 2 minutes before I acknowledge() a message as I have to
process it and make sure that it's completed on my end.

Then I can ack… but how long do I have? Where is this set?

I assume there is documentation on the subject but I'm unable to find it.

--------------060800060805050304030900 Content-Type: image/jpeg; x-apple-mail-type=stationery; name="compose-unknown-contact.jpg" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="compose-unknown-contact.jpg" /9j/4AAQSkZJRgABAQEARwBHAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEC AQEBAQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgIC AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAAR CAAZABkDAREAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAABgcICQr/xAA0EAABAwMCAgUK BwAAAAAAAAACAQMEBQYRABITIQcUMUF2CBUXIjI2N0JRtVRWkZOV0dL/xAAYAQEAAwEAAAAA AAAAAAAAAAADAAEEAv/EACQRAAICAAQGAwAAAAAAAAAAAAABAhEDMrHREyExM0FxgfDx/9oA DAMBAAIRAxEAPwDuEt+gW/ULet6oVC3rfqNQqFv0OfPn1GhUqfOmzZtKZlS5UqZMaNwzNwiJ VIl7eXLCaZIGwBl3TY8epPx2+jy2ZNPjvkwc9uhW8j7nCPhvOsQliYIeS7cvCpp8o50qwrC4 v3lsNSDbdmTEhvs2tahxpfV3WnmbbozJEw/gwdadbYExVRXKEKoSdvJcaOSqxE7/AAiX0gXx +a69/JSf9alIlste0VzaNpeFrcT9KKymotyiaZ0KRCnzacoE7Kjzn4gi2KqUh3jqDHDHv4mR UfruTWlMzlVUKIVNp9GguEJnAh0+IZjyAiisgyRDnu5azS8miKqjOTVkKqS/psG37fo1Fbab eg25b8eZPeFJBBJSjMG5HjMeyihnaauZwe4OGiju13GAcpOwBeN+U8/IkGbsiS8b7ryogmbz hbyc9REROfZhERO5ETShjPtvpGqTUyLErytS4siSwx5x2tRH4hPOI0DkjZtaJtFxuVEbIUUi yeNujlBUJGbJN6nM/Cyf2Hf60YgjvKA+NPSP4gT7axpcPtr51YWJnYn9dnAQWl722p4ot37y zqnlfp6FrqbwawG8/9k= --------------060800060805050304030900-- --------------060302010306000202030400--