title: How to set JMSMessageID and JMSCorrelationID properly?
body: <p>I made a java app that uses JMS to send messages to an MQ Queue. I set the message id and correlation id with the setJMSMessageId() and setJMSCorrelationId(). The messageId seems to be overwritten when the sending ends. I googled a bit, and seems that the server overwrites the messageId even when you send it.</p>
  
  <p>The requirement for this app is that both messageId and correlationId have the same value when sent and when received. Isn't there anything I can do about this?</p>
  
  <p>Note: I am using JDK 1.6, and a WAS 8.5 to deploy the app. This WAS communicates with a MQ Queue Manager. </p>