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

ASF subversion and git services commented on QPIDJMS-257:
---------------------------------------------------------

Commit 98c36218866d6297d633caed805002b46ae5c1d1 in qpid-jms's branch 
refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=98c3621 ]

QPIDJMS-257 Defer consumer close if delivered messages still pending

If a consumer in client Ack mode has delivered but not ack'd messages
outstanding defer the close until those messages are acknowledged.
Session close will override if consumer remains deferred until its
parent is closed.

> Messages delivered from a consume in client acknowledge mode cannot be 
> acknowledged after the consumer is closed
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: QPIDJMS-257
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-257
>             Project: Qpid JMS
>          Issue Type: Bug
>          Components: qpid-jms-client
>    Affects Versions: 0.11.1, 0.20.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 0.21.0
>
>
> The JMS specification defines that a closing a consumer is to have no effect 
> on the acknowledgement of messages delivered to the application.  Currently 
> for client acknowledge consumers we don't support this and a call to 
> acknowledge on a delivered message will fail if the consumer was previously 
> closed.
> From section 8.8 of the spec.
> {quote}
> * If the session mode is CLIENT_ACKNOWLEDGE then any messages
> delivered to the application may be acknowledged by calling
> acknowledge in the normal way. It makes no difference whether this
> occurs before or after the consumer is closed.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to