qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPIDJMS-231) closing a consumer used since prior commit/rollback holds its prefetched messages until the next commit/rollback
Date Fri, 03 Feb 2017 16:26:51 GMT

    [ 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


Mime
View raw message