I\'m using Spring-Boot-1.1.7. My intention is to add a bean to my context according to a value of a property of type string.
I mean, I can see a lot of examples of boole
For property value conditional I used:
@ConditionalOnProperty(name="server.host", havingValue="localhost")