Return-Path: Delivered-To: apmail-incubator-uima-user-archive@locus.apache.org Received: (qmail 96624 invoked from network); 14 Nov 2008 15:12:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Nov 2008 15:12:03 -0000 Received: (qmail 24668 invoked by uid 500); 14 Nov 2008 15:12:10 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 24435 invoked by uid 500); 14 Nov 2008 15:12:09 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Received: (qmail 24424 invoked by uid 99); 14 Nov 2008 15:12:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Nov 2008 07:12:09 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eaepstein@gmail.com designates 209.85.146.176 as permitted sender) Received: from [209.85.146.176] (HELO wa-out-1112.google.com) (209.85.146.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Nov 2008 15:10:46 +0000 Received: by wa-out-1112.google.com with SMTP id l24so852945waf.12 for ; Fri, 14 Nov 2008 07:11:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=y8SqoqrfuE3IKA62zIN9iw1R2xMVTRAGcOSJxrxIh2M=; b=IaSsgSanjudRocug8Ln1s/BY3VDrWL9DEkNCB34VtLoIttGTpC6YeHctXFK6T/h1eT PMgTWXgEJYv6XDgtPAf/Ei+MyQaqi/gz4j/+0huSM+2ieIA+b9EpQcsK/n2/DGUYsErB zJStQxnj4bDZeyrODf3+YD9bVQLx9t3itlihY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=amR4r0pd83L1bB5lklQC9phtIreRPMunDwXtGJks5kZ+3pc6pMBaveHwczS9rhXFGX nlR8d2nPi+OrGdStOh2//Gz+Z5A6YiU9AiCR+WlMO42QRLKWv+PqBJCZHRVhBse8bmqv TJ8MG0fceDaFS9ZqVHDhbfevthKeXv8AYyIm0= Received: by 10.114.131.9 with SMTP id e9mr673541wad.0.1226675480823; Fri, 14 Nov 2008 07:11:20 -0800 (PST) Received: by 10.114.111.5 with HTTP; Fri, 14 Nov 2008 07:11:20 -0800 (PST) Message-ID: Date: Fri, 14 Nov 2008 10:11:20 -0500 From: "Eddie Epstein" To: uima-user@incubator.apache.org Subject: Re: undeployAsyncService? In-Reply-To: <491C8F34.7010206@cs.cmu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <491C8F34.7010206@cs.cmu.edu> X-Virus-Checked: Checked by ClamAV on apache.org Hi Eric, UIMA AS service queues on ActiveMQ are actually created either by a service registering as a consumer or by a client registering as a producer; these queues are persistent. Service reply queues use the JMS temporary queue mechanism, and these go away as soon as the consumer connection is broken. One approach would be to use the JMX service for the AMQ broker which reports the number of active consumers for each queue. Not sure how reliable this mechanism is for the 4.1.1 broker we are using. The other way to go would be as you suggest, killing the service and then using client timeouts to detect that the service is not there. Eddie On Thu, Nov 13, 2008 at 3:33 PM, Eric Riebling wrote: > I have a strange use case which requires taking down as well > as starting up remote services. Is there a mechanism which > allows removal, or de-registration of a service with a > particular broker? My only idea on how to achieve this is > to kill the service process brute force, and let the broker "figure > out" that the service has gone away, I'm assuming by way of > a timeout, or a getMeta failure. > > Any ideas? Is there a way to tell a broker directly to stop > using a particular service, once it's been deployed? > > Thanks, > > -er > -- > Eric Riebling NSH 4623, LTI, SCS, CMU > 412.268.9872 http://www.cs.cmu.edu/~er1k >