Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-5279

[LTS] Add message to the audit consume log message

    XMLWordPrintable

Details

    Description

      In the audit log, now the info is as below:

      2021-07-02 10:13:14,646 [AUDIT](Thread-3 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$6@260e86a1)) AMQ601501: User andy(amq)@127.0.0.1:34852 is consuming a message from TEST
      

      I want to track the which consumer consumed which  message, so it is better to also log the message info like below, as the producer.

      2021-06-28 08:20:26,145 [AUDIT](Thread-8 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$6@6a84a97d)) AMQ601500: User andy(amq)@127.0.0.1:34852 is consuming a message AMQPStandardMessage( [durable=true, messageID=0, address=TestKit10.00001.sit1.posttrade.csp.amqp.trx.request, size=1199, applicationProperties={}, properties=Properties{messageId=ID:6a47753c-3cc1-4356-9dc6-dfc1a85a2b18:1:1:1-1, userId=null, from='TestKit10.00001.sit1.posttrade.csp.amqp.trx.request', subject='null', replyTo='null', correlationId=null, contentType=null, contentEncoding=null, absoluteExpiryTime=null, creationTime=Mon Jun 28 08:20:26 AEST 2021, groupId='null', groupSequence=null, replyToGroupId='null'}, extraProperties = null], with Context: RoutingContextImpl(Address=null, routingType=null, PreviousAddress=null previousRoute:null, reusable=null, version=0)
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-jbertram Justin Bertram
              rhn-support-xiwu Xiaohui Wu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: