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-209) Message.acknowledge() should only acknowledge messages consumed by the application
Date Mon, 18 Dec 2006 09:06:23 GMT
     [ 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

        

Mime
View raw message