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

nodes within a CBR don't connect to nodes after the CBR in the pipeline

    XMLWordPrintable

Details

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

    Description

      The nodes within a CBR should be connected to the node after the CBR IMO since this is the way the exchange flows through the route. Take the following route for example,

          <route id="NormalizeMessageData">
              <from uri="jms:incomingOrders"/>
              <convertBodyTo type="java.lang.String"/>
              <choice>
                  <when>
                      <simple>${body} contains '?xml'</simple>
                      <unmarshal ref="xml"/>
                  </when>
                  <otherwise>
                      <unmarshal ref="csv"/>               
                  </otherwise>
              </choice>
              <to uri="jms:orders"/>
          </route>
      

      I would think that this would be rendered like:

      jms:incomingOrders --> convertBodyTo --> choice {unmarshal1 || unmarshal2} --> jms:orders
      

      however, it is rendered like:

      jms:incomingOrders --> convertBodyTo --> choice {unmarshal1 || unmarshal2}
                                           --> jms:orders
      

      Attachments

        1. cbr1.png
          cbr1.png
          118 kB
        2. cbr.png
          cbr.png
          232 kB
        3. article_fuseide.png
          article_fuseide.png
          122 kB

        Activity

          People

            jastrachan_jira James Strachan (Inactive)
            janstey@redhat.com Jonathan Anstey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: