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 66E3310008 for ; Fri, 25 Oct 2013 01:45:38 +0000 (UTC) Received: (qmail 17370 invoked by uid 500); 25 Oct 2013 01:45:37 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 17340 invoked by uid 500); 25 Oct 2013 01:45:37 -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 17332 invoked by uid 99); 25 Oct 2013 01:45:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Oct 2013 01:45:37 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christian.posta@gmail.com designates 209.85.215.54 as permitted sender) Received: from [209.85.215.54] (HELO mail-la0-f54.google.com) (209.85.215.54) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Oct 2013 01:45:32 +0000 Received: by mail-la0-f54.google.com with SMTP id gx14so2575526lab.13 for ; Thu, 24 Oct 2013 18:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=X2MRLdBY79wmUJ033pQA+s8OiVwNtJCO0Txel4lv/FU=; b=KMCU2MgUwb1PEhLET8gq01+Kp+Rp4dMELE/Upop3LS7bKIdcOWGyvqihkc53W5Ay+e WOzojkGX05x73yy47Fi8OaWkdndzdFxUvhBwu2fGmwJXfbqoItSzQ7w+EMSwYvepVXW4 DnchOAEQAnKzy/A0lfxXUhBGyJ8yTphg5AP2KrFLemPVg7YULFPU99zng8vixi02w/uf fr01KhLxJv+TrfMR2EX9L9WGcySNj2Ywrv3uHSivsushESiq9gYVrKcAmr/wdol1OeaS D6ghk9G2gNo8TdGNFMOnopi1Phk4h16hvQiokkR7PHK7SRT8THLaVrMb+Uw2UGx/OPxb qT0A== MIME-Version: 1.0 X-Received: by 10.112.64.7 with SMTP id k7mr31148lbs.43.1382665511329; Thu, 24 Oct 2013 18:45:11 -0700 (PDT) Received: by 10.114.2.239 with HTTP; Thu, 24 Oct 2013 18:45:11 -0700 (PDT) In-Reply-To: References: Date: Thu, 24 Oct 2013 18:45:11 -0700 Message-ID: Subject: Re: A black hole queue? From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=001a11c3fba2a5679904e986e699 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3fba2a5679904e986e699 Content-Type: text/plain; charset=ISO-8859-1 You could write a broker plugin that drops the message (ignores it). Or you if on 5.9, could use the new broker: plugin to do that with Camel: http://rajdavies.blogspot.com/2013/09/apache-camel-broker-component-for.html Or use the timestamp plugin http://activemq.apache.org/timestampplugin.htmlto help set a TTL that auto-expires the message, and then ignore the message in DLQ once it's expired with the discarding DLQ plugin: http://activemq.apache.org/message-redelivery-and-dlq-handling.html HTH On Thu, Oct 24, 2013 at 4:32 PM, Nate Faerber wrote: > Is it possible to configure a queue to simply drop incoming messages > without serving to a consumer. I have an app that is both producing and > consuming on the queue but I need to disable the consuming without touching > code in the app. > > thanks, > > -- > Nate Faerber > Senior Systems Engineer, Operations > ItsOn, Inc. > desk: 650.517.2785 > mobile: 415.794.2731 > {us/pacific} > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --001a11c3fba2a5679904e986e699--