title: Set/override Spring / Spring Boot properties at runtime
body: <p>At the project with Spring Boot we use application.properties but need to configure some of these properties (like port number of logging level) based on an external configuration. We access the configuration via API so it is known only at runtime.</p>
  
  <p>Is there a way to override or set some Spring properties at runtime (for example using a bean)  and if yes how can this be achieved?</p>