[jboss-jira] [JBoss JIRA] Resolved: (JBMESSAGING-1886) After clearBody() followed by QueueSession.recover() redelivered message is not correct

Yong Hao Gao (JIRA) jira-events at lists.jboss.org
Mon Aug 22 22:22:17 EDT 2011


     [ https://issues.jboss.org/browse/JBMESSAGING-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yong Hao Gao resolved JBMESSAGING-1886.
---------------------------------------

    Resolution: Done


> 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, 1.4.0.SP3.CP14, 1.4.8.SP2
>            Reporter: Colin Mondesir
>            Assignee: Yong Hao Gao
>             Fix For: 1.4.0.SP3.CP15, 1.4.8.SP3
>
>
> 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