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 3c775345ab512679b1c6a32fe6d4b2d0543cf9de Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Thu Jan 11 10:16:38 2024 +0100 CAMEL-20297 camel-wal: do not swallow interrupted exceptions --- .../main/java/org/apache/camel/component/wal/DefaultLogSupervisor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/components/camel-wal/src/main/java/org/apache/camel/component/wal/DefaultLogSupervisor.java b/components/camel-wal/src/main/java/org/apache/camel/component/wal/DefaultLogSupervisor.java index 3ca901d627e..50e71407129 100644 --- a/components/camel-wal/src/main/java/org/apache/camel/component/wal/DefaultLogSupervisor.java +++ b/components/camel-wal/src/main/java/org/apache/camel/component/wal/DefaultLogSupervisor.java @@ -68,6 +68,7 @@ public class DefaultLogSupervisor implements LogSupervisor { } } catch (InterruptedException e) { LOG.error("Failed to shutdown log flusher: {}", e.getMessage(), e); + Thread.currentThread().interrupt(); } } }