qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Updated: (QPID-214) Calling recover in onMessage() should stop Auto-ACK being sent for current message
Date Mon, 18 Dec 2006 18:04:21 GMT
     [ http://issues.apache.org/jira/browse/QPID-214?page=all ]

Rob Godfrey updated QPID-214:
-----------------------------

    Attachment: QPID-214.patch

Use flag at session level to denote whether we are "inRecovery", reset to false at the start
of each message processing.  Only send auto-acknowledgement if we are not inRecovery.

Test case attached.

> Calling recover in onMessage() should stop Auto-ACK being sent for current message
> ----------------------------------------------------------------------------------
>
>                 Key: QPID-214
>                 URL: http://issues.apache.org/jira/browse/QPID-214
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client, JMS Compliance
>            Reporter: Rob Godfrey
>         Attachments: QPID-214.patch
>
>
> If using a MessageListener, calling Session.recover() while in the onMessage() processor,
should stop the auto-acknowledgement of the current message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message