You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/02/03 16:26:51 UTC

[jira] [Commented] (QPIDJMS-231) closing a consumer used since prior commit/rollback holds its prefetched messages until the next commit/rollback

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

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

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

QPIDJMS-256 QPIDJMS-231 Better deal with deffered consumer close

Handle consumer close in TX better by moving the deferment handling to
the AmqpConsumer where close decide if it should hold until the TX has
completed and ensure that on deferred close that the consumer is drained
and prefetched messages are released back to the remote for redispatch.
Ensure that when a consumer is closed but deferred due to being in a
transaction or having pending delivered messages that are not yet ack'd
the client does not dispatch any more inbound messages to the consumer.


> closing a consumer used since prior commit/rollback holds its prefetched messages until the next commit/rollback
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: QPIDJMS-231
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-231
>             Project: Qpid JMS
>          Issue Type: Bug
>          Components: qpid-jms-client
>    Affects Versions: 0.11.0, 0.20.0
>            Reporter: Alex Rudyy
>            Assignee: Timothy Bish
>
> The messages prefetched by the consumer and not yet delivered to the application are not released on consumer close. As result, the new consumer cannot consume the messages prefetched by closed consumer. 
> This issue was discovered for a transacted consumer. I did not investigate whether other acknowledgment modes are affected by it.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org