activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Any publicly available code to create human readable dumps of broker internal state and queue contents?
Date Wed, 20 Jan 2010 11:09:13 GMT
Hi Fred,

check out command line tools -
http://activemq.apache.org/activemq-command-line-tools-reference.html

the code is in activemq-console/ module. We also added a command
journal-audit, that let's you see the content of the AMQ Message Store
journal.

That's the good starting point for you and also it would be great if you'd
contribute back your improvements.

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Wed, Jan 20, 2010 at 11:59 AM, Fred Moore <fred.moore77@gmail.com> wrote:

> Hi folks,
>
> after having embededded an ActiveMQ broker into our application, we wanted
> to provide simple command line use cases to help problem
> determination/troubleshooting, things like:
>
> 1\ Dumping the broker internal state (just dumping MBeans attributes should
> suffice) to a text file
> 2\ Dumping header & body of each message in a queue to a text file
>
> I'm assuming this is a very common requirement: can anyone suggest pointers
> to code that we can reuse?
>
> Cheers,
> F.
>
> PS: ...the underlying assumption here is that troubleshooting cannot be
> performed via interactive "observation" of the system, e.g. by a user using
> tools such as JConsole and HermesJMS, because of deploy constraints or
> insufficient user skills.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message