davsclaus commented on code in PR #27635:
URL: https://github.com/apache/camel/pull/27635#discussion_r4235037840
##########
core/camel-support/src/main/java/org/apache/camel/support/ExchangeHelper.java:
##########
@@ -454,6 +455,30 @@ public static Message getResultMessage(Exchange exchange) {
}
}
Review Comment:
Not needed: CamelContext.getShutdownStrategy() never returns null, the
extension creates it on first use
(DefaultCamelContextExtension.getShutdownStrategy, lazily under a lock), so the
check would guard a case that cannot happen.
--
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]