From 94933f335fff454a1fc1cea304dd3fc2b5d47ea8 Mon Sep 17 00:00:00 2001 From: Otavio Rodolfo Piske Date: Thu, 11 Jan 2024 10:13:32 +0100 Subject: [PATCH] CAMEL-20297 camel-iec60870: do not swallow interrupted exceptions --- .../camel/component/iec60870/client/ClientConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/client/ClientConnection.java b/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/client/ClientConnection.java index 017edc7e2ac53..d1673f98ecc5b 100644 --- a/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/client/ClientConnection.java +++ b/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/client/ClientConnection.java @@ -106,7 +106,7 @@ public void start() { try { latch.await(this.options.getConnectionTimeout(), TimeUnit.MILLISECONDS); } catch (InterruptedException e) { - // ignore + Thread.currentThread().interrupt(); } }