'ConcurrentModificationException during addRouteDefinitions() of camel core dependency
So I have 10 route definitions to be registered: 7 direct ones and 3 servlet.
For some reason during application start I got concurrentModitificationException during addRouteDefinitions() method call.
The reason is it tries to add those 3 servlet definitions while already in the loop of adding other 7 definitions.
Has anyone ever faced this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
