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

When using data transformation, can't add more components to a route

    Details

    • Steps to Reproduce:
      Hide

      1. Create empty Fuse project
      2. Add routes
      3. In one of the routes add the transformation component
      4. In that route try to add another component.

      Show
      1. Create empty Fuse project 2. Add routes 3. In one of the routes add the transformation component 4. In that route try to add another component.

      Description

      When adding the data transformation tooling component (based on Dozer) to a Camel route in JBDS 9.1 Fuse Tooling, I can't add more components to the route.

      When moving the transform endpoint to the "to" element, i.e.

      <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd                            http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd">
          <!--
            The namespace for the camelContext element in Blueprint is 'https://camel.apache.org/schema/blueprint'. Additionally,
            we can also define namespace prefixes we want to use them in the XPath expressions in our CBR.
      
            While it is not required to assign id's to the <camelContext/> and <route/> elements, it is a good idea
            to set those for runtime management purposes (logging, JMX MBeans, ...)
          -->
          <camelContext id="_context1" xmlns="http://camel.apache.org/schema/blueprint">
              <dataFormats>
                  <jaxb contextPath="generated_1476701002168" id="generated_1476701002168"/>
                  <jaxb contextPath="generated_1476701002399" id="generated_1476701002399"/>
              </dataFormats>
              <route id="inbox">
                  <from id="_from1" uri="file:inbox"/>
                  <to id="_to1" uri="activemq:queue:inbox"/>
              </route>
              <route id="transform">
                  <from id="_from2" uri="activemq:queue:inbox"/>
                  <to id="_to2" uri="dozer:transform?sourceModel=generated_1476701002168.Order&amp;targetModel=generated_1476701002399.Order&amp;marshalId=generated_1476701002399&amp;unmarshalId=generated_1476701002168&amp;mappingFile=transformation.xml"/>
                  <to id="_to3" uri="file:outbox"/>
              </route>
              <log/>
          </camelContext>
      </blueprint>
      

      it works

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jcordes Jochen Cordes
                Reporter:
                jcordes Jochen Cordes
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: