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 0F8D8B6B3 for ; Thu, 5 Jan 2012 00:29:49 +0000 (UTC) Received: (qmail 80461 invoked by uid 500); 5 Jan 2012 00:29:48 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 80424 invoked by uid 500); 5 Jan 2012 00:29:48 -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 80416 invoked by uid 99); 5 Jan 2012 00:29:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2012 00:29:48 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jason.dillon@gmail.com designates 209.85.161.171 as permitted sender) Received: from [209.85.161.171] (HELO mail-gx0-f171.google.com) (209.85.161.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2012 00:29:40 +0000 Received: by ggnh4 with SMTP id h4so1236ggn.2 for ; Wed, 04 Jan 2012 16:29:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=mzWpUjtk/OTnmfvtBaY7Y/cg1vNwi5Ojnlqv8iIBg44=; b=FulXKlm/xDg/ifC4FbjlEC+dlE9I5yazujxYJj8lGdWGxZ07oIdju4KrA8ykLd05mC yOfiXTALpPG3lNnKBfOFXS81SDfhBZCMdlm254cg2RaZlRIaCZpAh7Te2kFC4iUPTzOM 3xAoy5A0eHhzA3m5anacadlkylp0vEds1fZpc= Received: by 10.100.81.14 with SMTP id e14mr13919395anb.35.1325723359819; Wed, 04 Jan 2012 16:29:19 -0800 (PST) Received: from [10.0.1.55] (c-98-248-96-179.hsd1.ca.comcast.net. [98.248.96.179]) by mx.google.com with ESMTPS id 40sm93501572ano.19.2012.01.04.16.29.18 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Jan 2012 16:29:18 -0800 (PST) Sender: Jason Dillon Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1251.1) Subject: Re: Virtual topic subscriber expiration? From: Jason Dillon In-Reply-To: Date: Wed, 4 Jan 2012 16:29:15 -0800 Content-Transfer-Encoding: 7bit Message-Id: <3BBB303C-E5DB-4C73-9771-231C44D7C557@planet57.com> References: To: users@activemq.apache.org X-Mailer: Apple Mail (2.1251.1) On Jan 4, 2012, at 4:36 AM, Dejan Bosanac wrote: > There's no explicit setup for that as those are just regular queues from > which no one consumes. The simple manual solution is to just delete unused > queues and virtual topic will stop sending messages there > > Some things you can do to automate this process is: > > - set expiry on the messages you're sending so that those queues don't keep > messages > - try deleting inactive destinations as described here - > http://activemq.apache.org/delete-inactive-destinations.html > > Note that deleting inactive destinations assumes that there are no > consumers, producers and messages in a certain queue for some time, so this > might not work if your destinations are high-volume (as messages will live > in the queue for some time). Perhaps one of the improvements in this area > is to allow to delete queues which just don't have consumers for some time > and ignore message count. I think inactive destination removal is going to be fine for my use-case. Thanks a lot for the detail :-) --jason