Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-222

A process EIP cannot have child content

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0
    • 1.1
    • Camel Editor
    • None

    Description

      I was building a route like, see screenshot.

      I right clicked on the process EIP and chose the rollback EIP.
      The source generated is shown below.

      The <process> tag cannot have child. So the <rollback> should be added below it instead.

        <camelContext xmlns="http://camel.apache.org/schema/spring">
          <route>
              <from uri="timer:foo?period=5000"/>
              <transform>
                  <language language="simple">Hey ${body}</language>
              </transform>
              <process ref="myProcessor">
                  <rollback markRollbackOnly="true"/>
              </process>
          </route>
      </camelContext>
      

      Attachments

        Activity

          People

            cibsen@redhat.com Claus Ibsen
            cibsen@redhat.com Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: