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 42A55181F0 for ; Fri, 18 Dec 2015 18:55:55 +0000 (UTC) Received: (qmail 36020 invoked by uid 500); 18 Dec 2015 18:55:54 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 35938 invoked by uid 500); 18 Dec 2015 18:55:54 -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 35742 invoked by uid 99); 18 Dec 2015 18:55:54 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2015 18:55:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 037EE1A139D for ; Fri, 18 Dec 2015 18:55:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.565 X-Spam-Level: **** X-Spam-Status: No, score=4.565 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id B8HbAWWEZpMn for ; Fri, 18 Dec 2015 18:55:42 +0000 (UTC) Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 81C6120428 for ; Fri, 18 Dec 2015 18:55:42 +0000 (UTC) Received: by mail-io0-f172.google.com with SMTP id e126so99116412ioa.1 for ; Fri, 18 Dec 2015 10:55:42 -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=gX3qSfndvfyM87NVR/JD5bi0na6zX+ZKp8COYoICN7s=; b=bteJgAH4YBMcwTd3ORAY4ol+RDJ6h6DRzrb+1EilDpxoZabaMzoY9Wo3NrFSzfllpB 2sZ06Q2IenRoEgy1FjIx8fyZlfURilClcHWDvkoC026Rw29OnBCsL0QS0wmgSTmyPwXk VwG6abY9iiO5n0iOCVQHsg9YRNsFBH798mwVXBs8bjFo1o1mIZhCyNnRFKx1f0cfe2Mq UfTcshp//pHddB4HIDveVwCjYpJ77VX3RqzQhYjyiUSGz0SX8kTVtcsqFDNWBy5CKGap 3b8SGjdug7ytNULsefZIKE5QogmpyXaDZTgNMKPwm3nQuG9UDYipJ9PfHtOrCiJhHxeN c6vg== X-Received: by 10.107.165.69 with SMTP id o66mr7496095ioe.103.1450464941980; Fri, 18 Dec 2015 10:55:41 -0800 (PST) MIME-Version: 1.0 Sender: tbain98@gmail.com Received: by 10.50.249.42 with HTTP; Fri, 18 Dec 2015 10:55:22 -0800 (PST) In-Reply-To: References: <1450295688673-4705074.post@n4.nabble.com> <1450379445077-4705136.post@n4.nabble.com> <1450460459583-4705177.post@n4.nabble.com> <1450462997551-4705184.post@n4.nabble.com> From: Tim Bain Date: Fri, 18 Dec 2015 11:55:22 -0700 X-Google-Sender-Auth: J84g7BGY7XS2y2R6LFH2Yx1eskQ Message-ID: Subject: Re: Need help with a message broker configuration To: ActiveMQ Users Content-Type: multipart/alternative; boundary=001a1141c8f4a04098052730afb2 --001a1141c8f4a04098052730afb2 Content-Type: text/plain; charset=UTF-8 For troubleshooting purposes, I'd recommend you use the web console or a JMX viewer to find out which queues have unconsumed messages and no consumers, and browse the messages on each such queue via the web console. Browsing should (I think) run the messages through the expiration logic, so once you've browsed all of the queues, you should have expired any old messages. Then go to the KahaDB data directory and see if some of the oldest files got deleted; if they did, then the problem is simply that you need a mechanism for forcing expiration checks on messages when there's no consumer. If not, then there's something else going on. While you're browsing the messages, look at the oldest one on each queue and confirm that it's got an expiration date header set; if some of your publishers aren't setting that header, then you need to address that issue first. Tim On Fri, Dec 18, 2015 at 11:46 AM, Tim Bain wrote: > Messages published to a topic are deleted from the message store when they > are consumed by the last subscriber. When there are no subscribers, they > are immediately deleted. So there's nothing for you to worry about there. > > Tim > > On Fri, Dec 18, 2015 at 11:23 AM, Shine wrote: > >> Hi Tim. >> >> no queue with that name >> >> In the topic Tab is that entry .. SHINE is a queue name >> ActiveMQ.Advisory.Expired.Queue.SHINER >> Number Of Consumers: 0 >> Messages Enqueued: 2 <= expired Messages ... automatically remove from >> queue >> Messages Dequeued: 0 >> >> .. but i cant remove via WebConsole .. maybe the messages are >> automatically >> deleted. >> >> regards >> shine >> >> >> >> -- >> View this message in context: >> http://activemq.2283324.n4.nabble.com/Need-help-with-a-message-broker-configuration-tp4705074p4705184.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> > > --001a1141c8f4a04098052730afb2--