Can I define System Properties within Spring Boot configuration files?
You may try. @Profile(“production”) @Component public class ProductionPropertySetter { @PostConstruct public void setProperty() { System.setProperty(“http.maxConnections”, “15”); } }