jeanouii commented on PR #1543:
URL: https://github.com/apache/activemq/pull/1543#issuecomment-3848399233

   As @tabish121 pointed out, the current implementation violates the spec I 
think.
   
   I think the best way to implement this is by creating a 
ActiveMQMessageConsumer#receiveBody that ActiveMQConsumer can delegate to.
   
   Currently, ActiveMQConsumer first delegates to ActiveMQMessageConsumer that 
will ack the message before reading the body. But we need to read first the 
body for receiveBody.
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to