You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2025/01/17 08:08:00 UTC

[jira] [Updated] (CAMEL-21620) camel-core - Fix onWhen to not include outputs in model

     [ https://issues.apache.org/jira/browse/CAMEL-21620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-21620:
--------------------------------
    Issue Type: Improvement  (was: Task)

> 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)