CAMEL-7836: Fixed potential ConcurrentModificationException when calling getRoutes.