【问题标题】:Externalizing property file and Application Context file - Spring XD custom module外部化属性文件和应用程序上下文文件 - Spring XD 自定义模块
【发布时间】:2015-11-17 17:27:58
【问题描述】:

在部署 spring-xd 自定义模块时,有没有办法可以将应用程序上下文和属性文件外部化?当我部署模块时,我只是在 xd/custom-modules/processor 中看到了里面的 jar。但是,开箱即用的 spring-xd 模块具有类似 http-client/Config/httpconfig.xml 和 http-client/Config/httpclient.properties 的文件夹结构。

【问题讨论】:

    标签: spring-xd


    【解决方案1】:

    至少对于属性,可以将它们放在 xd/config/modules/type-of-module/module-name/module-name.properties 中。我还没有试用应用程序上下文文件。

    更多详情请看这里:XD docs: module configuration

    【讨论】:

      猜你喜欢
      • 2012-01-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-02-21
      • 2018-03-10
      • 2020-09-25
      • 1970-01-01
      • 2012-08-01
      相关资源
      最近更新 更多