title: how to read properties file in wso2 esb?
body: <p>I have written a proxy service in esb to read a file which i have stored in configuration registry and my proxy is:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;proxy xmlns="http://ws.apache.org/ns/synapse"
             name="deleteme"
             transports="https http"
             startOnLoad="true"
             trace="disable"&gt;
         &lt;description/&gt;
         &lt;target&gt;
            &lt;inSequence&gt;
  &lt;property xmlns:p="http://tempuri.org/" name="SourceID" expression="//p:SourceID" scope="default" type="STRING"/&gt;
               &lt;property name="test"
                         expression="get-property('registry','conf:/test.xml')"
                         scope="default"
                         type="OM"/&gt;
               &lt;property name="test.AddressEP" expression="$ctx:test//AddressEP"/&gt;
               &lt;log level="custom"&gt;
                  &lt;property name="test.AddressEP" expression="$ctx:test//AddressEP"/&gt;
               &lt;/log&gt;
               &lt;header name="To" expression="get-property('test.AddressEP')"/&gt;
               &lt;send/&gt;
            &lt;/inSequence&gt;
         &lt;/target&gt;
         &lt;publishWSDL uri="http://pc241059:8281/services/echo?wsdl"/&gt;
      &lt;/proxy&gt;
  </code></pre>
  
  <p>Now instead of providing hard coded data <strong>AddressEP</strong> in the property:</p>
  
  <pre><code>&lt;property name="test.AddressEP" expression="$ctx:test//AddressEP"/&gt;
  </code></pre>
  
  <p>I want to pass the value of the property:</p>
  
  <pre><code>&lt;property xmlns:p="http://tempuri.org/" name="SourceID" expression="//p:SourceID"/&gt;
  </code></pre>
  
  <p>like</p>
  
  <pre><code>&lt;property name="test.AddressEP" expression="$ctx:test//get-property('SourceID')"/&gt;
  </code></pre>
  
  <p>But i am unable to do this?Please help me on this. Looking forward to your answers. Thanks in advance</p>