How to import spring xml basis on condition
How to import spring xml basis on condition
Is there any way to import to load the spring configuration file to another by placing some conditional value, which is taken from the .properties file
<import resource="classpath:META-INF/spring/MandatoryConfigForThisService.xml" />
desired solution want to be like the following:
<import condition="${isEnabled}" resource="classpath:META-INF/spring/MandatoryConfigForThisService.xml" />
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Comments
Post a Comment