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

Camel XML editor - Outline of EIPs change from chain to output from consumer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.32
    • None
    • Camel Editor
    • None

    Description

      Having this route

        <bean class="com.foo.MyCoolBean" id="myCoolBean"/>
      
        <camelContext xmlns="http://camel.apache.org/schema/spring" autoStartup="true" lazyLoadTypeConverters="false" streamCache="false" trace="false">
          <route>
              <description>Route: route1</description>
              <from uri="timer:foo?period=1000"/>
              <to uri="bean:myCoolBean">
                  <description>Endpoint: </description>
              </to>
              <log logName="log-cool" message="What do you say ${body}">
                  <description>Log: </description>
              </log>
          </route>
      </camelContext>
      

      When I created it by hand in the GUI editor it was a chain

      from -> to -> log

      And I clicked auto layout and it laid them out nicely as a chain.

      Then I click the source tab to add the <bean> element. When I click back to the GUI it realigns them as

      from -> to
      -> log

      See screenshot.

      The outline in the upper right corner, is showing the route as a chain.

      I know the route is essential as

      route
      input = from
      outputs = to
      log

      So you may say the GUI is correct. But that's not how you would "think" the route laid out.

      We may have to add some way of re-aligning the route as a "chain"

      Attachments

        Activity

          People

            jastrachan_jira James Strachan (Inactive)
            cibsen@redhat.com Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: