From users-return-11322-apmail-qpid-users-archive=qpid.apache.org@qpid.apache.org Thu Sep 25 14:18:28 2014 Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-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 8A177175DE for ; Thu, 25 Sep 2014 14:18:28 +0000 (UTC) Received: (qmail 86986 invoked by uid 500); 25 Sep 2014 14:18:28 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 86952 invoked by uid 500); 25 Sep 2014 14:18:28 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 86941 invoked by uid 99); 25 Sep 2014 14:18:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Sep 2014 14:18:28 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aconway@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Sep 2014 14:17:56 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s8PEHrsa006654 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 25 Sep 2014 10:17:53 -0400 Received: from [10.3.113.167] (ovpn-113-167.phx2.redhat.com [10.3.113.167]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s8PEHq6l019324 for ; Thu, 25 Sep 2014 10:17:52 -0400 Message-ID: <1411654672.10963.23.camel@localhost> Subject: Re: Add qmf shutdown command to the broker [was Re: QPID C++ - Dynamically Managing Broker] From: Alan Conway To: users@qpid.apache.org Date: Thu, 25 Sep 2014 10:17:52 -0400 In-Reply-To: <1411580418269-7614174.post@n2.nabble.com> References: <1410998194423-7613792.post@n2.nabble.com> <541A9E4A.1020605@redhat.com> <1411078321626-7613863.post@n2.nabble.com> <1411416612.3082.56.camel@localhost> <1411580418269-7614174.post@n2.nabble.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, 2014-09-24 at 10:40 -0700, Spencer.Doak wrote: > Hi, > > Well as you know, I'm definitely in support of this addition. > > I do not know how the exact details about the QMF listener, but I would > imagine it could receive the shutdown message and do something like > "std::exit(1);". Of course there might be some necessary clean-up before > calling the exit command; however, I would guess that it's probably a pretty > easy command to implement. > Yes pretty easy, not quite exit(1) more of a broker->shutdown() ;) Biggest bit of work (for me) would be adding the ACL rule. Maybe someone who knows the ACL stuff would like to take it? I've JIRAed it, further suggestions can go on the JIRA: https://issues.apache.org/jira/browse/QPID-6118 It's assigned to me for now but like I said if anyone who knows the ACL stuff wants it, please be my guest! Cheers, Alan. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org