brusdev commented on a change in pull request #3387:
URL: https://github.com/apache/activemq-artemis/pull/3387#discussion_r547159275



##########
File path: 
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPMessagePersisterV2.java
##########
@@ -71,8 +70,6 @@ public void encode(ActiveMQBuffer buffer, Message record) {
          buffer.writeInt(properties.getEncodeSize());
          properties.encode(buffer.byteBuf());
       }
-

Review comment:
       @clebertsuconic I also would avoid a new persister but the trailer of 
the paged messages has no fixed size[1].
   So I can't figure out how to check the remaining bytes to understand if it 
includes or not the expiration. Any suggestion?
   
   [1] 
https://github.com/apache/activemq-artemis/blob/2.16.0/artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/PagedMessageImpl.java#L225




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to