After clearBody() followed by QueueSession.recover() redelivered message is not correct
---------------------------------------------------------------------------------------
Key: JBMESSAGING-1886
URL:
https://issues.jboss.org/browse/JBMESSAGING-1886
Project: JBoss Messaging
Issue Type: Bug
Components: Messaging Core
Affects Versions: 1.4.0.SP3.CP13
Reporter: Colin Mondesir
Assignee: Yong Hao Gao
After calling clearBody() on a message followed by QueueSession.recover() the re-delivered
message does not contain the original body. I've verified this behaviour on EAP 4.3
CP09.
The spec states:
------------------------------------------
A consumer can modify a received message after calling either the clearBody or
clearProperties method to make the body or properties writable. If the consumer
modifies a received message, and the message is subsequently redelivered, the
redelivered message must be the original, unmodified message
------------------------------------------
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira