[ https://issues.apache.org/jira/browse/CAMEL-21620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17912827#comment-17912827 ]
Claus Ibsen commented on CAMEL-21620: ------------------------------------- We can also consider making "when" with inlined outputs part of choice and then its not listed in general outputs for all the EIPs > 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)