You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (Commented) (JIRA)" <ji...@apache.org> on 2011/11/22 23:22:39 UTC

[jira] [Commented] (QPID-3640) When releasing msgs, the JMS client should not mark msgs in the prefetch buffer as "redelivered".

    [ https://issues.apache.org/jira/browse/QPID-3640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155494#comment-13155494 ] 

Rajith Attapattu commented on QPID-3640:
----------------------------------------

Note this test depends on "internalQueueSize()" size method introduced in AMQSession.java for testing purposes. So unless you are running with a patch that contains this, please comment that line when running the test.

That part is there to verify #3 in the above description.
                
> When releasing msgs, the JMS client should not mark msgs in the prefetch buffer as "redelivered".
> -------------------------------------------------------------------------------------------------
>
>                 Key: QPID-3640
>                 URL: https://issues.apache.org/jira/browse/QPID-3640
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.10, 0.12
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>             Fix For: 0.15
>
>         Attachments: RecoveryTest.java
>
>
> When releasing messages, for ex when the application calls recover() or Connection.stop(), the client marks all messages in it's prefetch buffer as "redelivered". This is not correct, since messages in the prefetch buffer have not yet been seen (delivered) by the application.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org