Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-2947

SwitchYard editor generates a camel route incompatible with SY 2.0.x

    Details

      Description

      SwitchYard editor generates a camel route incompatible with SY 2.0.x

      <?xml version="1.0" encoding="UTF-8"?>
      <beans xmlns="http://www.springframework.org/schema/beans"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd        http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
          <camelContext id="camelContext1" xmlns="http://camel.apache.org/schema/spring">
              <route id="_route1">
                  <from id="_from1" uri="switchyard://Hello"/>
                  <log id="_log1" message="Hello - message received: ${body}"/>
              </route>
          </camelContext>
      </beans>
      

      which is not compatible with SwitchYard 2.0.x and cannot be either executed from IDE (see the atatched error.txt) or deployed to the server (Fuse on EAP 6.2.1.R3 (Build 177)). Note that it works fine with Fuse 6.3.0.CR1 (Build 159).

      In earlier version the tooling used to generate a route as follows

      <?xml version="1.0" encoding="UTF-8"?>
      <routes id="routes-35862e2f-3304-47f5-a2a2-50dce0e3f29e" xmlns="http://camel.apache.org/schema/spring">
          <route id="_route1">
              <from id="_from1" uri="switchyard://Hello"/>
              <log id="_log1" message="Hello - message received: ${body}"/>
          </route>
      </routes>
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bfitzpat Brian Fitzpatrick
                Reporter:
                apodhrad Andrej Podhradsky
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: