[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-1886) After clearBody() followed by QueueSession.recover() redelivered message is not correct
Colin Mondesir (JIRA)
jira-events at lists.jboss.org
Fri Jul 8 11:17:24 EDT 2011
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
More information about the jboss-jira
mailing list