I am using Spring Boot 2.1.
I have some mixed configuration in my project : XML files and java classes with annotations. We have this current configuration which works :
We want to extract the component values from the spring.profiles.active property since they have nothing to do with the environment :
How can i condition the instantiation of the myserviceimpl bean inside the applicationContext-file.xml ? I can no longer rely on the profile attribute since the spring.profiles.active property no longer includes the values of the components.