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 a73696f CAMEL-17121: fixed missing reset the Thread's interrupt status a73696f is described below commit a73696fac26abd9681dd3574202b2f52714e4fe7 Author: Otavio Rodolfo Piske <opi...@redhat.com> AuthorDate: Fri Oct 29 18:13:15 2021 +0200 CAMEL-17121: fixed missing reset the Thread's interrupt status --- .../src/main/java/org/apache/camel/support/task/BackgroundTask.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/task/BackgroundTask.java b/core/camel-support/src/main/java/org/apache/camel/support/task/BackgroundTask.java index a718aff..0d9a971 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/task/BackgroundTask.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/task/BackgroundTask.java @@ -147,6 +147,7 @@ public class BackgroundTask implements BlockingTask { service.awaitTermination(1, TimeUnit.SECONDS); } catch (InterruptedException e) { LOG.warn("Interrupted while waiting for the repeatable task to execute"); + Thread.currentThread().interrupt(); } finally { service.shutdownNow(); }