title: Spring Import resource based on property in properties file - without using spring profile - Conditional Context Loading
body: <p>I want to import the resource based on value of property in properties file, there are several context files and spring should load only those whose value is set to true. These values are different for different customers.</p>
  
  <pre><code>&lt;import if{property} = true resource="classpath*:prod-config.xml"/&gt;
  </code></pre>
  
  <p>and I can't use spring profiles here. Please suggest.</p>