This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 65983ea120aec9a730a5cbe340d46f844e153b63 Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Fri Jan 12 10:57:59 2024 +0100 CAMEL-20297 camel-core-model: do not swallow interrupted exceptions --- .../src/main/java/org/apache/camel/builder/NotifyBuilder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/camel-core-model/src/main/java/org/apache/camel/builder/NotifyBuilder.java b/core/camel-core-model/src/main/java/org/apache/camel/builder/NotifyBuilder.java index 04e1267623d..18dde9db1bd 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/builder/NotifyBuilder.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/builder/NotifyBuilder.java @@ -1233,6 +1233,7 @@ public class NotifyBuilder { LOG.warn("The notify builder latch has timed out. It's likely the condition has never been satisfied"); } } catch (InterruptedException e) { + Thread.currentThread().interrupt(); throw RuntimeCamelException.wrapRuntimeCamelException(e); } return matches();