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

AmqpInterceptor amqpMessage.getPersistentSize() returns '0'

XMLWordPrintable

      In AMQ < 7.7.0GA , "amqpMessage.getPersistentSize()" would return an accurate message size:

      public class LargeMessageInterceptor implements AmqpInterceptor {
      ...
          public boolean intercept(AMQPMessage amqpMessage, RemotingConnection remotingConnection) throws ActiveMQException {
      LargeMessageInterceptorLogger.LOGGER.messageReceived(remotingConnection.getRemoteAddress(), amqpMessage.getPersistentSize());
      ...
          }
      }
       

      In AMQ 7.7 the message size returned is '0'.

              csuconic@redhat.com Clebert Suconic
              rhn-support-shiggs Stephen Higgs
              Oleg Sushchenko Oleg Sushchenko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: