camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-4021) ConcurrentModificationException at DefaultCamelContext.getRouteDefinition()
Date Fri, 27 May 2011 13:43:47 GMT

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

Claus Ibsen reassigned CAMEL-4021:
----------------------------------

    Assignee: Claus Ibsen

> 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
>
> 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

Mime
View raw message