[
https://issues.apache.org/jira/browse/QPIDJMS-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16693837#comment-16693837
]
ASF subversion and git services commented on QPIDJMS-434:
---------------------------------------------------------
Commit 2186300e879e1dc235e67d7b197c55b46618dc2b in qpid-jms's branch
refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=2186300 ]
QPIDJMS-434 Safe iteration over consumer that can close during
Ensure that we safely iterate over the consumers when processing a
client acknowledge to ensure that deferred closures don't cause a
ConcurrentModificationException which will error out the acknowledge
operation.
> Consumer whose close was deferred in a client ack session can cause an
> exception when another consumer is also present in that session
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: QPIDJMS-434
> URL: https://issues.apache.org/jira/browse/QPIDJMS-434
> Project: Qpid JMS
> Issue Type: Bug
> Components: qpid-jms-client
> Affects Versions: 0.38.0
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Priority: Major
> Fix For: 0.39.0
>
>
> When a consumer that has received but not acknowledged messages in a client
> ack session is closed, the close operation is deferred until either a
> message.acknowledge call is made or the parent session is closed. If there
> are two consumers in such a session a call to acknowledge on a message can
> lead to an exception being thrown in error.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]