在Spring Integration项目中组织XML文件

时间:2016-02-09 14:17:47

标签: spring-integration

我们希望将Spring Integration配置拆分为多个文件,例如flow-one.xmlflow-two.xml。在每个此类文件中,我们希望拥有input频道。

Spring Integration可以自动为通道ID添加XML文件名前缀,即flow-one.inputflow-two.input吗?

您如何处理XML配置(不使用一个大型XML文件)?

1 个答案:

答案 0 :(得分:0)

参见Spring Integration Flow扩展项目,它封装子流并使它们“可调用”。

否则,您必须管理频道命名以防止重叠。