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 (Build 177)).
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>
|
|