Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.10.2
-
None
-
Debian Squeeze, Java 1.6.0_26, Apache Camel 2.10.2
-
Novice
Description
When an exception occures during the startup of a route Route::getConsumer() might return null.
During the shutdown of this route the logging in DefaultCamelContext::stopRouteService yields to a NullPointerException:
log.info("Route: " + route.getId() + " stopped, was consuming from: " + route.getConsumer().getEndpoint())