Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法将属性文件应用程序的优先级更改为 Mule 应用程序中的 VM 参数?
如果没有,我们应该如何实现以便代码首先检查 VM args 如果不可用,然后检查 application.properties 文件?
就像是,
if (propFromVMArgs != null) {...} else {//use property from application.property file...}