[ https://issues.apache.org/jira/browse/CAMEL-21620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17913688#comment-17913688 ]
Claus Ibsen edited comment on CAMEL-21620 at 1/17/25 8:07 AM: -------------------------------------------------------------- TODO: Add disabled option to when/otherwise was (Author: davsclaus): TODO: Add disabled option to when/otherwise/onWhen > 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: Improvement > 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)