You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Hugo V <ae...@hotmail.com> on 2006/09/02 02:33:36 UTC

Message content Audit log

Hello,

Is there a way to log every message content into a separate Audit file in
ActiveMQ ?

We have 3 applications communicating to each other with XML messages via
ActiveMQ. Each application is logging incoming XML message content into an
Audit File… I would like to centralize this simple operation.

Thank you.
-- 
View this message in context: http://www.nabble.com/Message-content-Audit-log-tf2205489.html#a6108274
Sent from the ActiveMQ - User forum at Nabble.com.


Re: Message content Audit log

Posted by James Strachan <ja...@gmail.com>.
On 9/2/06, Hugo V <ae...@hotmail.com> wrote:
>
> Hello,
>
> Is there a way to log every message content into a separate Audit file in
> ActiveMQ ?
>
> We have 3 applications communicating to each other with XML messages via
> ActiveMQ. Each application is logging incoming XML message content into an
> Audit File… I would like to centralize this simple operation.

You could add an interceptor to create some audit file.

http://incubator.apache.org/activemq/interceptors.html

or you could use JDBC persistence and use a Trigger to replicate the
messages to an audit table; or just keep the journal files (which
contain all the operations in a file).

-- 

James
-------
http://radio.weblogs.com/0112098/