In my spring boot application,
scenario: a property in application.properties is given. I want to update the property in the environment in the same application in java code.
Note: I do not want to use Spring config server, because I do not want to refresh the property manually.
I need a solution in which I could somehow, modify the properties set in the environment at runtime in java code.
Any pointers would be appreciated.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…