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

when routing to the same endpoint from multiple parts in a single route we should reuse the same endpoint node for the same URI

    XMLWordPrintable

Details

    Description

      for example the following route should show 2 arrows to the same "jms:orders" endpoint

          <route id="NormalizeMessageData">
              <from uri="jms:incomingOrders"/>
              <convertBodyTo id="convertBodyTo1" type="java.lang.String"/>
              <choice id="choice1">
                  <when id="when1">
                      <language language="simple">${body} contains '?xml'</language>
                      <unmarshal id="unmarshal1" ref="xml">
                          <to uri="jms:orders"/>
                          <bindy/>
                      </unmarshal>
                  </when>
                  <when id="when2">
                      <language language="simple">blah</language>
                      <to uri="fooo"/>
                      <to uri="jms:orders"/>
                  </when>
                  <otherwise id="otherwise1">
                      <unmarshal ref="csv"/>
                  </otherwise>
              </choice>
          </route>
      

      Attachments

        Activity

          People

            lheinema@redhat.com Lars Heinemann
            jastrachan_jira James Strachan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: