Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
2.1.0
-
None
-
None
Description
In Fuse IDE 2.1.0 when in source view a part of camel route is commented using XML comment (<!-- and -->) once switched to Design view and back to source it gets changed to Description tag.
e.g.
<!-- Test comment to see what happens ... --> <camelContext xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="file:src/data?noop=true"/> <to uri="activemq:personnel.records"/> </route> <route> <from uri="activemq:personnel.records"/> <!-- <choice> <when> <xpath>/person/city = 'London'</xpath> <to uri="file:target/messages/uk"/> </when> <otherwise> <to uri="file:target/messages/others"/> </otherwise> </choice> --> </route> </camelContext>
Changes to :
<!-- Test comment to see what happens ... --> <camelContext xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="file:src/data?noop=true"/> <to uri="activemq:personnel.records"/> </route> <route> <description><choice> <when> <xpath>/person/city = 'London'</xpath> <to uri="file:target/messages/uk"/> </when> <otherwise> <to uri="file:target/messages/others"/> </otherwise> </choice></description> </route> </camelContext>
This is highly undesirable as it's not always the description of the part of route.