You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Arnaud Simon (JIRA)" <qp...@incubator.apache.org> on 2009/02/16 14:35:07 UTC

[jira] Assigned: (QPID-1665) (0.10 client) session does not ack messages before maxprefetch/2 is reached

     [ https://issues.apache.org/jira/browse/QPID-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Simon reassigned QPID-1665:
----------------------------------

    Assignee: Arnaud Simon

> (0.10 client) session does not ack messages before maxprefetch/2 is reached 
> ----------------------------------------------------------------------------
>
>                 Key: QPID-1665
>                 URL: https://issues.apache.org/jira/browse/QPID-1665
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M4
>            Reporter: Arnaud Simon
>            Assignee: Arnaud Simon
>             Fix For: M5
>
>
> Description:
> The following is done in AMQSession_0_10 method acknowledgeMessage 
>   if (unackedCount >= prefetch/2)
>         {
>             flushAcknowledgments();
>         }    
> This results in messages not being acknowledged when prefetch > 1. The default value of prefetch is 1 hence masking the problem. 
> Solution:
> Only do that for org.apache.qpid.jms.Session.NO_ACKNOWLEDGE mode and ack messages otherwise 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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