Natasha created CAMEL-6996: ------------------------------ Summary: Missing "throw" statements in CdiCamelContext Key: CAMEL-6996 URL: https://issues.apache.org/jira/browse/CAMEL-6996 Project: Camel Issue Type: Bug Components: camel-cdi Affects Versions: 2.12.1 Reporter: Natasha Priority: Critical
Hi everybody, please have a look into file "CdiCamelContext.java": In the methods "start" and "stop" "throw" statements are missing (see below). This error suppresses proper error handling and error information in case that the cdi camel context cannot be started (for example due to invalid endpoint uris). Thanks a lot in advance for the quick fix. Bye Natasha @PostConstruct @Override public void start() { try { super.start(); } catch (Exception e) { ObjectHelper.wrapRuntimeCamelException(e); // <= Missing throw statement } } @PreDestroy @Override public void stop() { try { super.stop(); } catch (Exception e) { ObjectHelper.wrapRuntimeCamelException(e); // <= Missing throw statement } } -- This message was sent by Atlassian JIRA (v6.1#6144)