This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.4.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.4.x by this push: new ee7a3a6 Fixed bug in ThreadPoolProfile clone. Thanks to Andreas Becker for reporting this. ee7a3a6 is described below commit ee7a3a6cfe9e764bb505ffe7ad80f26a9cfc9a7d Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Aug 11 16:16:07 2020 +0200 Fixed bug in ThreadPoolProfile clone. Thanks to Andreas Becker for reporting this. --- .../camel-api/src/main/java/org/apache/camel/spi/ThreadPoolProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/camel-api/src/main/java/org/apache/camel/spi/ThreadPoolProfile.java b/core/camel-api/src/main/java/org/apache/camel/spi/ThreadPoolProfile.java index f164819..6dc32e7 100644 --- a/core/camel-api/src/main/java/org/apache/camel/spi/ThreadPoolProfile.java +++ b/core/camel-api/src/main/java/org/apache/camel/spi/ThreadPoolProfile.java @@ -279,7 +279,7 @@ public class ThreadPoolProfile implements Serializable, Cloneable { cloned.setKeepAliveTime(keepAliveTime); cloned.setMaxPoolSize(maxPoolSize); cloned.setMaxQueueSize(maxQueueSize); - cloned.setPoolSize(maxPoolSize); + cloned.setPoolSize(poolSize); cloned.setAllowCoreThreadTimeOut(allowCoreThreadTimeOut); cloned.setRejectedPolicy(rejectedPolicy); cloned.setTimeUnit(timeUnit);