[ https://issues.apache.org/jira/browse/CAMEL-21620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17913319#comment-17913319 ]
Claus Ibsen edited comment on CAMEL-21620 at 1/15/25 3:12 PM: -------------------------------------------------------------- The interceptSendToEndpoint is a bit tricky to refactor to resolve this *DONE* was (Author: davsclaus): The interceptSendToEndpoint is a bit tricky to refactor to resolve this > camel-core - Fix onWhen to not include outputs in model > ------------------------------------------------------- > > Key: CAMEL-21620 > URL: https://issues.apache.org/jira/browse/CAMEL-21620 > Project: Camel > Issue Type: Task > Components: camel-core, dsl > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Priority: Major > Fix For: 4.10.0 > > > Only when in choice should have outputs. The onWhen used in filter, doCatch, > intercept, onCompletion should be a predicate only without outputs. However > since it reused the when from choice the model has outputs. Its a bit tricky > to fix due to the model being old and classic spring xml XSD. > -- This message was sent by Atlassian Jira (v8.20.10#820010)