[ 
https://issues.apache.org/jira/browse/CAMEL-17129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18151720#comment-18151720
 ] 

Claus Ibsen commented on CAMEL-17129:
-------------------------------------

Fixed by https://github.com/apache/camel/pull/30883 (4.24.0): saga and 
transacted keep the order of the steps in the XML and YAML DSL. The idea of 
configuring transactions or sagas for many routes, as route configurations do, 
is moved to CAMEL-NEWKEY.

_Claude Code on behalf of davsclaus_

> DSL: add a better way to configure capabilities such as tx, saga, etc.
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-17129
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17129
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Luca Burgazzoli
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.24.0
>
>
> While working on the YAML DSl, I've noticed that a route like:
> {code:yaml}
> - from:
>     uri: "direct:start"
>     steps:    
>       - saga:  
>         propagation: "MANDATORY"
>         completion-mode: "MANUAL"
>         steps:
>         - to: "direct:something"
>       - to: "mock:result"
> {code}
> Gets re-wired to be something like:
> {code:yaml}
> - from:
>     uri: "direct:start"
>     steps:    
>       - saga:  
>         propagation: "MANDATORY"
>         completion-mode: "MANUAL"
>         steps:
>         - to: "mock:result"
>         - to: "direct:something"
> {code}
> So in fact any output is moved to the saga outputs.
> This happen because the saga is supposed to be a top level only feature and 
> to be applied to the entire route (same for transacted). 
> The model should have a a separate definition for route configurations so you 
> can configure saga, tx, onException et all there only and not later in the 
> regular route



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to