You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org> on 2006/12/18 10:06:23 UTC

[jira] Updated: (QPID-209) Message.acknowledge() should only acknowledge messages consumed by the application

     [ http://issues.apache.org/jira/browse/QPID-209?page=all ]

Rob Godfrey updated QPID-209:
-----------------------------

    Attachment: QPID-209.patch

Fix attached so that unacknowledge messages are tracked individually by each consumer.

Unit test case for previous issue attached.

> Message.acknowledge() should only acknowledge messages consumed by the application
> ----------------------------------------------------------------------------------
>
>                 Key: QPID-209
>                 URL: http://issues.apache.org/jira/browse/QPID-209
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client, JMS Compliance
>            Reporter: Rob Godfrey
>            Priority: Minor
>         Attachments: QPID-209.patch
>
>
> If not using MessageListeners, but instead calling receive() on the consumers, it is possible for the application to consume messages "out of order", in this case it is not correct to acknowledge all messages up to and including the id of the last message consumed.  Instead only those messages which have actually been consumed should be acknowledged.

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