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/10 09:25:25 UTC
(camel) branch main updated: CAMEL-20297 camel-seda: do not swallow interrupted exceptions (leftover)
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
The following commit(s) were added to refs/heads/main by this push:
new f7853906cd9 CAMEL-20297 camel-seda: do not swallow interrupted exceptions (leftover)
f7853906cd9 is described below
commit f7853906cd9a67cf775636002b749f301199dd02
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Wed Jan 10 09:29:49 2024 +0100
CAMEL-20297 camel-seda: do not swallow interrupted exceptions (leftover)
Leftover from 1c73ce90679ab0cc5e5bdb36b4e221462af7ef56
---
.../src/main/java/org/apache/camel/component/seda/SedaProducer.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/components/camel-seda/src/main/java/org/apache/camel/component/seda/SedaProducer.java b/components/camel-seda/src/main/java/org/apache/camel/component/seda/SedaProducer.java
index c9f0ad6e99a..e72b9edd943 100644
--- a/components/camel-seda/src/main/java/org/apache/camel/component/seda/SedaProducer.java
+++ b/components/camel-seda/src/main/java/org/apache/camel/component/seda/SedaProducer.java
@@ -243,6 +243,7 @@ public class SedaProducer extends DefaultAsyncProducer {
} catch (InterruptedException e) {
// ignore
LOG.debug("Offer interrupted, are we stopping? {}", isStopping() || isStopped());
+ Thread.currentThread().interrupt();
}
} else {
queue.add(target);