You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/02/27 09:24:41 UTC
[camel] branch camel-3.18.x updated: CAMEL-19091: Deprecate discard/discardOldest in rejected policy for thread pool policy
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.18.x by this push:
new 452cc65f99b CAMEL-19091: Deprecate discard/discardOldest in rejected policy for thread pool policy
452cc65f99b is described below
commit 452cc65f99b80d4017b9c7c9727f175d243f7bdb
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Feb 27 10:23:51 2023 +0100
CAMEL-19091: Deprecate discard/discardOldest in rejected policy for thread pool policy
---
.../java/org/apache/camel/util/concurrent/ThreadPoolRejectedPolicy.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/core/camel-util/src/main/java/org/apache/camel/util/concurrent/ThreadPoolRejectedPolicy.java b/core/camel-util/src/main/java/org/apache/camel/util/concurrent/ThreadPoolRejectedPolicy.java
index fc564fdf7cb..64463d387e6 100644
--- a/core/camel-util/src/main/java/org/apache/camel/util/concurrent/ThreadPoolRejectedPolicy.java
+++ b/core/camel-util/src/main/java/org/apache/camel/util/concurrent/ThreadPoolRejectedPolicy.java
@@ -32,7 +32,9 @@ public enum ThreadPoolRejectedPolicy {
Abort,
CallerRuns,
+ @Deprecated
DiscardOldest,
+ @Deprecated
Discard;
public RejectedExecutionHandler asRejectedExecutionHandler() {