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 CCE3617CBB for ; Mon, 2 Feb 2015 17:06:34 +0000 (UTC) Received: (qmail 33466 invoked by uid 500); 2 Feb 2015 17:06:35 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 33419 invoked by uid 500); 2 Feb 2015 17:06:35 -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 31629 invoked by uid 99); 2 Feb 2015 17:06:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2015 17:06:01 +0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_IMAGE_ONLY_24,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_REMOTE_IMAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of burtonator2011@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-ob0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2015 17:05:57 +0000 Received: by mail-ob0-f180.google.com with SMTP id vb8so17546326obc.11 for ; Mon, 02 Feb 2015 09:04:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=zm9N1fJ/jJBChg/MgISYCDlKlEbfxw6fWgVSRy/K6LE=; b=yWIZNWLj3HDnhexOquolVNurJahxf/5Kjka9WXb1r1x7N15GROsZHLmQT76tKpGNnx BvfHLkHtmTHagEPaWShdXj79TuDrc7TCOOO8aAYTTc6lsDy76SPW46NqBFG+l/mJyIm6 ODFSs4IOshUCpdvi81fxHy0caS5JDoo2r4xuVX6quN/sDnrNuHeBYCJCo+/BqQjH4bnh +63hiWKfAdGjCAM3GIpRtXfYCmhbS/sBQfoMAd5GWtJzF1lX4kGJdsdDholmG70pnvgz M6dxEKqXsy0LdhF+YQbxBfjwu9nPUDBhVoJL0NBan4F6L0yCSOzYXDfz8x88Zjxac69o o3BA== X-Received: by 10.182.214.1 with SMTP id nw1mr8776003obc.21.1422896691597; Mon, 02 Feb 2015 09:04:51 -0800 (PST) MIME-Version: 1.0 Sender: burtonator2011@gmail.com Received: by 10.183.6.234 with HTTP; Mon, 2 Feb 2015 09:04:31 -0800 (PST) In-Reply-To: References: <1422850928195-4690797.post@n4.nabble.com> From: Kevin Burton Date: Mon, 2 Feb 2015 09:04:31 -0800 X-Google-Sender-Auth: GN1eLwBjgTARCNLPkwb8xfJ8uXI Message-ID: Subject: Re: ActiveMQ should GC inactive when producers is 0 , even if consumers is > 0 To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=e89a8ff1cf3cdad7b3050e1df36a X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1cf3cdad7b3050e1df36a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Feb 2, 2015 at 5:39 AM, Tim Bain wrote: > Also, the most common (I think) broker configuration will auto-create a > destination if a client tries to use it and it doesn't exist. So if you > delete the destination while a consumer is still connected, won't the > broker just immediately recreate it? If implemented, would this > enhancement actually do what you want? > > True. I mean part of this depends on the complexity. If it=E2=80=99s impo= ssible to implement this feature or take months then clearly it=E2=80=99s a bad id= ea. > It seems like you need some means for the consumer to figure out that the > producer is done and disconnect itself, which would then let the existing > destination GC logic work without this enhancement. Correct. And to fix the face where a straggler could come in a moment after the consumer disconnects and writes a message. This is the main problem I need a work around for. Kevin --=20 Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com =E2=80=A6 or check out my Google+ profile --e89a8ff1cf3cdad7b3050e1df36a--