Reputation: 13933
In Spring Boot it is pretty straightforward to read properties from the application.properties (@Value), but what I would like to do is to load all properties in a java.util.Properties
object.
Is this possible?
Upvotes: 2
Views: 2081
Reputation: 1300
I think it's possible. You can see how it can be done from here(Click). . And Before doing it, please consider:
Please consider to use "Spring cloud conf" if this seems to be useful for you.
Upvotes: 1