A good place to start may be the LoggingBrokerPlugin[1] Out of the box it won't do exactly what you want but you could extend it in that direction and if you wish submit a patch with the changes. See an example (the last extension) in: https://issues.apache.org/activemq/browse/AMQ-2168
[1] http://activemq.apache.org/logging-interceptor.html On 25 January 2010 15:30, BenXS <bxsto...@yahoo.co.uk> wrote: > > How can I log all incoming and outgoing JMS msgs into a separate log file? > > Even better if every JMS msg could be stored into its own *.xml file. > > How can I achieve this? > > How can I achieve this for only certain queues (=queues which match e.g. > the > pattern > > *test_*20 > > Ben > -- > View this message in context: > http://old.nabble.com/How-to-log-all-incoming-and-outgoing-JMS-msgs--tp27307961p27307961.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- http://blog.garytully.com Open Source Integration http://fusesource.com