如何解决如何在m子4中用字符串来连接波值
我在m子4中需要动态流名称。我在m子3中做了一个动态流名称,但它不支持m子4。我该怎么做?
<flow-ref name="${igate.membership}-membership-flow" doc:name="External Membership Flow" />
在我的属性文件[igate.properties]中,
igate.membership=ebet
还有我的春豆,
<spring:beans>
<spring:bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<spring:property name="ignoreUnresolvablePlaceholders" value="true"/>
<spring:property name="location" value="igate.properties"/>
</spring:bean>
</spring:beans>
解决方法
如果使用configuration properties配置元素而不是Spring bean(例如<configuration-properties file="igate.properties"/>
),它应该可以工作。我认为您不能直接将Spring PropertyPlaceholderConfigurer bean用作Mule 4中的属性占位符。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。