title: How to inject properties from multiple property placeholders into java
body: <p>In my camel/blueprint project i defined a <code>property-placeholder</code> in the blueprint.xml:</p>
  
  <pre><code>&lt;cm:property-placeholder id="props.placeholder" persistent-id="props.blueprint"&gt;
      &lt;cm:default-properties&gt;
          &lt;cm:property name="app.name" value="app-service" /&gt;
      &lt;/cm:default-properties&gt;
  &lt;/cm:property-placeholder&gt;
  </code></pre>
  
  <p>With this in place i can inject the properties in java (e.g. camel routes):</p>
  
  <pre><code>@Value("${app.name}")
  private String name;
  </code></pre>
  
  <p>Now i need to introduce a 2nd property placeholder:</p>
  
  <pre><code>&lt;cm:property-placeholder id="container_specific.placeholder" persistent-id="container_specific.blueprint"
                           placeholder-prefix="%%{" placeholder-suffix="}%%"&gt;
      &lt;cm:default-properties&gt;
          &lt;cm:property name="service.port" value="1234"/&gt;
      &lt;/cm:default-properties&gt;
  &lt;/cm:property-placeholder&gt;
  </code></pre>
  
  <p>But how to use/inject property from the 2nd holder into java? <code>@Value("%%{service.port}%%)</code> does not work.</p>