You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2024/01/12 14:46:30 UTC
(camel) 02/06: CAMEL-20297 camel-google-hazelcast: do not swallow interrupted exceptions
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 3f4ed208c681d2bde356e55e28301d820caa0da4
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Jan 12 10:49:07 2024 +0100
CAMEL-20297 camel-google-hazelcast: do not swallow interrupted exceptions
---
.../apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
index bda0b7f1fbf..1a7eaa89502 100644
--- a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
+++ b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
@@ -298,7 +298,7 @@ public class HazelcastRoutePolicy extends RoutePolicySupport implements CamelCon
tryLockTimeoutUnit.name());
}
} catch (InterruptedException e) {
- // ignore
+ Thread.currentThread().interrupt();
} catch (Exception e) {
getExceptionHandler().handleException(e);
} finally {