[
https://issues.apache.org/jira/browse/CAMEL-26952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-26952 started by shashank.
----------------------------------------
> camel-core - an Error of the onPrepare processor of a split, multicast or
> recipient list fails the whole exchange instead of only that part
> -------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-26952
> URL: https://issues.apache.org/jira/browse/CAMEL-26952
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Reporter: shashank
> Assignee: shashank
> Priority: Minor
>
> Follow-up of CAMEL-26741 and CAMEL-26905 (an {{Error}} of the aggregation
> strategy of a split or multicast, or of the iterator of a streaming split).
> The {{onPrepare}} processor of a {{split}}, {{multicast}} or
> {{recipientList}} prepares each part, and an exception there fails only that
> part ({{MulticastProcessor.createProcessorExchangePair}} and
> {{RecipientListProcessor}} set it on the part, which then goes through the
> {{stopOnException}} rules). An {{Error}} that is not a
> {{VirtualMachineError}} (such as an {{AssertionError}}) fails the whole
> exchange instead: before any part is sent, or, for a streaming split (with
> CAMEL-26905), after the parts before it.
> Expected: such an {{Error}} fails only that part, as an exception does; a
> {{VirtualMachineError}} is left as before.
> Found in the review of the follow-ups of CAMEL-26741; confirmed with tests on
> the real classes.
> _Filed with Claude Code on behalf of allthingssecurity._
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)