[
https://issues.apache.org/jira/browse/CAMEL-21620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17913345#comment-17913345
]
Claus Ibsen edited comment on CAMEL-21620 at 1/15/25 8:47 PM:
--------------------------------------------------------------
TODO: Make when special for choice only.
TODO: Avoid onWhen/onFallback generated as processors into the XML XSD *DONE*
was (Author: davsclaus):
TODO: Make when special for choice only.
TODO: Avoid when/onWhen/onFallback generated as processors into the XML XSD
> 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)