Name
activemq-admin journal-audit — audits the log files of the AMQ persistence store. It does not work with the KahaDB persistence store.
Synopsis
activemq-admin journal-audit [--message-format=VelocityTemplate] [--topic-ack-format=VelocityTemplate] [--queue-ack-format=VelocityTemplate] [--transaction-format=VelocityTemplate] [--trace-format=VelocityTemplate] [--where=JoSQLExp] [-Dname=value...] [--version] [[--help] | [-h] | [-?]] journalDir
Arguments
| Argument | Description |
|---|---|
--message-format= | Specifies the Apache Velocity template used to format the displayed messages. |
--topic-ack-format=
| Specifies the Apache Velocity template used to display topic ack messages. |
--queue-ack-format=
| Specifies the Apache Velocity template used to display queue ack messages. |
--transaction-format= | Specifies the Apache Velocity template used to display transaction records. |
--trace-format=
| Specifies the Apache Velocity template used to display trace records. |
--where= | Select the records to display, using a SQL-like syntax implemented by JoSQL. |
-D | Sets a Java system property. For example,
-Dactivemq.home=C:/ActiveMQ. |
-h, -?, --help | Displays the online help for this command. |
Default Templates
The default Velocity expression for messages is:
${location.dataFileId},${location.offset}|${type}|${record.destination}|${record.messageId}|${record.properties}|${body}The default Velocity expression for topic acks is:
${location.dataFileId},${location.offset}|${type}|${record.destination}|${record.clientId}|${record.subscriptionName}|${record.messageId}The default Velocity expression for queue acks is:
${location.dataFileId},${location.offset}|${type}|${record.destination}|${record.messageAck.lastMessageId}The default Velocity expression for transaction records is:
${location.dataFileId},${location.offset}|${type}|${record.transactionId}The default Velocity expression for trace records is:
${location.dataFileId},${location.offset}|${type}|${record.message}







