记录骆驼路线 [英] Documenting Camel Routes

查看:130
本文介绍了记录骆驼路线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目中有几个Camel上下文,我想以逆向工程方式记录路由,因为我们希望保持文档与上下文相关。什么是最好的方法?

I have several Camel contexts in my project and i would like to document the routes if possible in a reverse engineering fashion since we want to keep the documentation up to date related to the context. what would be the best approach?

推荐答案

您可以在实际的DSL中添加文档,然后使用一些工具或其他任何提取那条路线和文件。

You can just add documentation in the actual DSL and then have some tooling or whatever that extracts that route and documentation.

在Spring XML DSL中,您应该能够在路径中向EIP添加元素。此外,您还可以添加常规XML注释。

In the Spring XML DSL you ought to be able to add elements to the EIPs in the route. Also you can also add general XML comments as well.

同样如上所述,一些GUI工具也是一些人想要使用的。然后,使用EIP图标的路线的可视图通常是文档。

Also as mentioned above some GUI tooling is also what some people want to use. Then often the visual diagram of the routes using the EIP icons is the documentation.

FuseSource是当前构建名为FuseSource Rider的GUI工具。它将在本月晚些时候公开测试。

FuseSource is current building a GUI tool called FuseSource Rider. It will be in public beta later this month.

在Apache Camel上有一些用于生成gui图表的maven工具
http://camel.apache.org/visualisation.html

At Apache Camel there is some maven tooling for generating gui diagrams http://camel.apache.org/visualisation.html

这篇关于记录骆驼路线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆