You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Eric Haszlakiewicz (JIRA)" <ji...@apache.org> on 2009/08/14 22:20:35 UTC

[jira] Updated: (CAMEL-1912) DefaultCamelContext.removeEndpoints() fails due to ConcurrentModificationException

     [ https://issues.apache.org/activemq/browse/CAMEL-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Haszlakiewicz updated CAMEL-1912:
--------------------------------------

    Attachment: DefaultCamelContext.java.diff

This is a patch against the current version of /trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java (r800180) that should fix the problem

> DefaultCamelContext.removeEndpoints() fails due to ConcurrentModificationException
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-1912
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1912
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.5.0, 1.6.0, 2.0-M1, 1.6.1, 1.6.2, 2.0-M2, 2.0-M3, 2.0.0
>            Reporter: Eric Haszlakiewicz
>            Priority: Minor
>         Attachments: DefaultCamelContext.java.diff
>
>
> The removeEndpoints() method iterates over the endpoints map, and attempts to remove entries inside of the iterator loop.  This causes near immediate ConcurrentModificationException's.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.