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

camel-yaml-dsl - Remove endpoint uri inlined mode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.17.0
    • camel-yaml-dsl
    • None
    • Unknown

    Description

      Its likely to magic and also harder for tooling and whatnot to grok that if a node is not matching one of the EIPs then it fallback to a endpoint uri (as to)

      apiVersion: camel.apache.org/v1
      kind: Integration
      metadata:
        name: myapp
      spec:
        flows:
          - from:
              uri: "timer:demo"
              parameters:
                period: 2000
              steps:
                - process: 
                    ref: myProcessor 
                - setBody:
                    expression:
                      simple: "Hi ${body}"
                - process: 
                    ref: myProcessor 
                - log: "${body}"
                - kafka: "out"
        sources:
          - content: |-
              beans {
                  myProcessor = processor { 
                      it.in.body = 123 * 2
                  }
              }
            name: mybean.groovy
      

      In the route above then - kafka: out is an endpoint uri

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: