mayurbm commented on PR #25554: URL: https://github.com/apache/camel/pull/25554#issuecomment-5447232852
@davsclaus Implemented your review request (review #5040526191) — both catch blocks in InternalRouteStartupManager.doStartOrResumeRouteConsumers() now wrap unconditionally in FailedToStartRouteException regardless of message content. The following tests were updated across 7 modules to reflect the new wrapping (asserting FailedToStartRouteException as outer type, original exception via .getCause()): DefaultSupervisingRouteControllerTest MainSupervisingRouteControllerTest SpringSupervisingRouteControllerTest NettyHttpTwoRoutesValidateBootstrapConfigurationTest JmsTestConnectionOnStartupTest MyBatisUnknownStatementTypeTest AiToolEndpointLifecycleTest (confirmed this IS impacted — exception thrown from AiToolConsumer.doStart() on a started context) All modified tests verified locally with JDK 21 and pass. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
