You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Daniel Laügt (JIRA)" <ji...@apache.org> on 2013/04/05 10:32:15 UTC
[jira] [Updated] (AMQCPP-474) On closing a connection, ActiveMQ
raises the exception: StlMap modified outside this iterator
[ https://issues.apache.org/jira/browse/AMQCPP-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Laügt updated AMQCPP-474:
--------------------------------
Attachment: ActiveMQConnection.cpp.patch
Here is the proposed fix.
> On closing a connection, ActiveMQ raises the exception: StlMap modified outside this iterator
> ---------------------------------------------------------------------------------------------
>
> Key: AMQCPP-474
> URL: https://issues.apache.org/jira/browse/AMQCPP-474
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: CMS Impl
> Affects Versions: 3.6.0
> Environment: Windows 7 32 bits
> Reporter: Daniel Laügt
> Assignee: Timothy Bish
> Attachments: ActiveMQConnection.cpp.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> By closing the connection, activeMQ iterates on config.activeTempDestinations to close the active temporary destinations. The method ActiveMQTempDestination.close() removes the destination from config.activeTempDestinations. So the iterators are invalid for the next iterations.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira