This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-4.4.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.4.x by this push:
new 962301cce6a CAMEL-20835: camel-core - Multicast/RecipientList use
LRUCache with configurable cacheSize for internal errorHandler cache to avoid
OOM. Thanks to Arthur Naseef for reproducer.
962301cce6a is described below
commit 962301cce6aa1dd1aa764a2f86776a868610eae4
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Jun 17 12:45:19 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.
---
.../src/main/java/org/apache/camel/processor/Splitter.java | 12 ------------
1 file changed, 12 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 7f1d202070c..49882d446e6 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
@@ -165,18 +165,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;