[
https://issues.apache.org/jira/browse/AMQCPP-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Laügt updated AMQCPP-474:
--------------------------------
Description: 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 iterator is invalid for the next
iterations. (was: 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.)
> 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 iterator is 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