You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/05/27 16:06:47 UTC
[jira] [Resolved] (CAMEL-4021) ConcurrentModificationException at
DefaultCamelContext.getRouteDefinition()
[ https://issues.apache.org/jira/browse/CAMEL-4021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-4021.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.8.0
> ConcurrentModificationException at DefaultCamelContext.getRouteDefinition()
> ---------------------------------------------------------------------------
>
> Key: CAMEL-4021
> URL: https://issues.apache.org/jira/browse/CAMEL-4021
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.7.1
> Reporter: Arkadi Shishlov
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.8.0
>
>
> Similar to CAMEL-3493 there is also a race in getRouteDefinition()
> {noformat}
> java.util.ConcurrentModificationException
> at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)[:1.6.0_21]
> at java.util.AbstractList$Itr.next(AbstractList.java:343)[:1.6.0_21]
> at org.apache.camel.impl.DefaultCamelContext.getRouteDefinition(DefaultCamelContext.java:1098)[cih-core-1.0.jar:1.0]
> at com.tieto.cih.core.main.GatewayRouteSetup.startGatewayRoutes(GatewayRouteSetup.java:86)[cih-core-1.0.jar:1.0]
> at com.tieto.cih.core.main.GatewayRouteSetup.process(GatewayRouteSetup.java:73)[cih-core-1.0.jar:1.0]
> {noformat}
> As route count could be quite large, it would be nice to have them stored in synchronized map or something like that instead of list.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira