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-256) Closing a consumer that was used in a transaction does not stop message dispatching unitl next commit or rollback
Date Fri, 03 Feb 2017 16:26:51 GMT

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

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

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 that was used in a transaction does not stop message dispatching unitl
next commit or rollback
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: QPIDJMS-256
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-256
>             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
>
>
> When a consumer close is initiated but the consumer is active in an ongoing transaction
the close is deferred until the next commit or rollback is performed however the consumer
resource is not stopped or drained of credit and so it continues to dispatch messages and
gather prefetch until the next commit or rollback is performed.  



--
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