-
Bug
-
Resolution: Done
-
Major
-
AMQ 7.7.0.GA
-
None
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'.