Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18753

camel-yaml-dsl - OnCompletion is not added in the route definition.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.18.3, 3.19.0
    • 3.18.4, 3.20.0
    • camel-yaml-dsl
    • None

    Description

      When creating a YAML-dsl route the OnCompletion definition is not injected in the Routes OnCompletion.

      E.G.

                      - on-completion: 
                          steps: 
                            - transform: 
                                constant: "Processed"
                            - to: "mock:on-success"  
                      - from: 
                          uri: "direct:start"
                          steps: 
                            - to: "mock:end"
      

      In this case the on-completion is not called.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bmarc MARC BOULANGER
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: