【发布时间】:2017-10-25 18:11:02
【问题描述】:
我如何配置我的 Karaf 服务器,以便每当有属性文件更改时,我不应该重新启动我的服务器以获得这些更改,它应该自动检测这些更改。我在 osgi Karaf Server 中部署我的包。为了加载属性文件,我在骆驼上下文中使用以下配置。
<bean
class="org.apache.camel.spring.spi.BridgePropertyPlaceholderConfigurer"
id="properties">
<property name="locations">
<list><value>file:etc/app/properties/env/env.properties</value>
<value>file:etc/vrol/security/ssl.properties
</value></list></property></bean>
【问题讨论】:
标签: osgi apache-karaf jbossfuse