This is an automated email from the ASF dual-hosted git repository. gnodet pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 6939b4ed78736d4ae24867ec59edc83993c633e8 Author: Guillaume Nodet <[email protected]> AuthorDate: Wed May 22 09:58:02 2024 +0200 Disable busy-warning warning on shutdown strategy --- .../java/org/apache/camel/impl/engine/DefaultShutdownStrategy.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultShutdownStrategy.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultShutdownStrategy.java index d99a0bc1344..c22432843c0 100644 --- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultShutdownStrategy.java +++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultShutdownStrategy.java @@ -566,6 +566,9 @@ public class DefaultShutdownStrategy extends ServiceSupport implements ShutdownS this.logInflightExchangesOnTimeout = logInflightExchangesOnTimeout; } + // Disable BusyWait as we're only waiting on seconds increment, so any other + // strategy would not be much more efficient + @SuppressWarnings("BusyWait") @Override public void run() { // the strategy in this run method is to
