Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 69582 invoked from network); 3 Nov 2009 18:55:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Nov 2009 18:55:24 -0000 Received: (qmail 44978 invoked by uid 500); 3 Nov 2009 18:55:23 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 44912 invoked by uid 500); 3 Nov 2009 18:55:22 -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 44902 invoked by uid 99); 3 Nov 2009 18:55:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 18:55:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 18:55:13 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1N5OWq-0001cx-E7 for users@activemq.apache.org; Tue, 03 Nov 2009 10:54:52 -0800 Message-ID: <26162119.post@talk.nabble.com> Date: Tue, 3 Nov 2009 10:54:52 -0800 (PST) From: stirlingc To: users@activemq.apache.org Subject: Re: How to maintain an historical view of queue contents? In-Reply-To: <26160156.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: schow@alarmpoint.com References: <26159890.post@talk.nabble.com> <26160156.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Joe Fernandez wrote: > > Sounds like you're wanting to implement a message-level audit trail? With > Camel, you could very quickly implement a wiretap message pattern > (http://camel.apache.org/wire-tap.html) and have the wiretap route the > tapped messages to a log4j appender. The appender's logfile could rollover > based on size and/or time. You could then write a simple MBean that is > loaded via a plugin and used to query the appender's log file. With this > approach, you'd have much more control. > Thanks for the idea, that sounds like a possible solution. I was hoping, however, to do this with the stock AMQ MBeans and queue configuration rather than introducing new code into our system, however, it looks like I might have to do this. The existing MBean views are sufficient for our purposes, but the problem is that the messages are so short-lived in the queue that they are rarely browseable. I found the following open ticket for implemented fixed-size rollover queues, so this answers my first question: http://issues.apache.org/activemq/browse/AMQ-1648 -- View this message in context: http://old.nabble.com/How-to-maintain-an-historical-view-of-queue-contents--tp26159890p26162119.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.