2.7. XML DSL
在路由或节点上设置描述的 <description> 已从元素改为一个属性。
示例
从中修改
<route id="myRoute"> <description>Something that this route do</description> <from uri="kafka:cheese"/> ... </route>
<route id="myRoute">
<description>Something that this route do</description>
<from uri="kafka:cheese"/>
...
</route>
to
[source,xml
<route id="myRoute" description="Something that this route do"> <from uri="kafka:cheese"/> ... </route>
<route id="myRoute" description="Something that this route do">
<from uri="kafka:cheese"/>
...
</route>