This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch zip
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/zip by this push:
     new e9bec494bbb CAMEL-21114: camel-zipfile - ZipSplitter with 
AggregationStrategy does not aggregate all splits in transacted mode.
e9bec494bbb is described below

commit e9bec494bbbb79514f9e0857912a6083b6e91bb8
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Sep 2 10:26:53 2024 +0200

    CAMEL-21114: camel-zipfile - ZipSplitter with AggregationStrategy does not 
aggregate all splits in transacted mode.
---
 .../src/main/java/org/apache/camel/processor/MulticastProcessor.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/MulticastProcessor.java
 
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/MulticastProcessor.java
index 17c2a6abe94..ea91c04a4e3 100644
--- 
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/MulticastProcessor.java
+++ 
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/MulticastProcessor.java
@@ -684,7 +684,7 @@ public class MulticastProcessor extends 
AsyncProcessorSupport
                 } catch (Exception e) {
                     original.setException(e);
                     doDone(null, false);
-                    next = false;
+                    return;
                 }
             }
         }
@@ -705,7 +705,7 @@ public class MulticastProcessor extends 
AsyncProcessorSupport
 
             ProcessorExchangePair pair = iterator.next();
             if (pair == null) {
-                return true;
+                return true; // go again to check hasNext
             }
 
             boolean hasNext = iterator.hasNext();

Reply via email to