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 2024/06/17 10:28:42 UTC
(camel) 02/02: CAMEL-20835: camel-core - Multicast/RecipientList use LRUCache with configurable cacheSize for internal errorHandler cache to avoid OOM. Thanks to Arthur Naseef for reproducer.
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-3.22.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 62bfa7b9ab83ced8ec5225f61a14ffa93ba8277e
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Jun 17 12:25:34 2024 +0200
CAMEL-20835: camel-core - Multicast/RecipientList use LRUCache with configurable cacheSize for internal errorHandler cache to avoid OOM. Thanks to Arthur Naseef for reproducer.
---
.../java/org/apache/camel/processor/Splitter.java | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/core/camel-core-processor/src/main/java/org/apache/camel/processor/Splitter.java b/core/camel-core-processor/src/main/java/org/apache/camel/processor/Splitter.java
index a27d50ad283..e0e104d0624 100644
--- a/core/camel-core-processor/src/main/java/org/apache/camel/processor/Splitter.java
+++ b/core/camel-core-processor/src/main/java/org/apache/camel/processor/Splitter.java
@@ -89,14 +89,6 @@ public class Splitter extends MulticastProcessor implements AsyncProcessor, Trac
return "split[" + expression + "]";
}
- @Override
- protected void doBuild() throws Exception {
- super.doBuild();
- // eager load classes
- Object dummy = new SplitterIterable();
- LOG.trace("Loaded {}", dummy.getClass().getName());
- }
-
@Override
protected void doInit() throws Exception {
super.doInit();
@@ -168,18 +160,6 @@ public class Splitter extends MulticastProcessor implements AsyncProcessor, Trac
private final Route route;
private final Exchange original;
- private SplitterIterable() {
- // used for eager classloading
- value = null;
- iterator = null;
- copy = null;
- route = null;
- original = null;
- // for loading classes from iterator
- Object dummy = iterator();
- LOG.trace("Loaded {}", dummy.getClass().getName());
- }
-
private SplitterIterable(Exchange exchange, Object value) {
this.original = exchange;
this.value = value;