title: retrieve corelationId of JMS message in wso2 esb
body: <p>I have created a queue in activeMQ and also created a proxy service which is listening for messages on that queue.</p>
  
  <p>While testing, I have put up a sample message to ActiveMQ queue using the console provided by ActiveMQ and set its corelationId but I am unable to retrieve the same corelation ID in the proxy service.</p>
  
  <p>Below is the proxy code to retrieve the same.</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;proxy xmlns="http://ws.apache.org/ns/synapse"
         name="JMSQueueConsumer"
         transports="jms"
         statistics="disable"
         trace="disable"
         startOnLoad="true"&gt;
      &lt;target&gt;
        &lt;inSequence&gt;
           &lt;log level="custom"&gt;
              &lt;property name="corelationId" expression="get-property('JMS_COORELATION_ID')"/&gt;
           &lt;/log&gt;
           &lt;property name="OUT_ONLY" value="true" scope="default" type="BOOLEAN"/&gt;
        &lt;/inSequence&gt;
     &lt;/target&gt;
     &lt;parameter name="transport.jms.Destination"&gt;WSO2InQueue&lt;/parameter&gt;
     &lt;description/&gt;
  &lt;/proxy&gt;
  </code></pre>
  
  <p>In the logs I am getting the value of "corelationId" as null.</p>
  
  <p>Can anybody help me on this?</p>