title: Does ActiveMQ Artemis / RedHat AMQ not set JMS Message ID correctly?
body: <p>According to the JMS spec, I do not have to specify the message ID when sending.</p>
  
  <p>When I send a message via <code>JMSProducer#send()</code> or when I create a message via the hawt.io console, I can see the message ID being set to some internal sequential number generated by the Artemis broker.</p>
  
  <p>However, when I use <code>MessageConsumer#receive()</code> or <code>MessageListener#onMessage()</code> to receive a <code>Message</code>, <code>Message#getJMSMessageID()</code> always returns <code>null</code>.</p>
  
  <p>The only way I can receive a message with a non-null JMS message ID is by reading a message from a different (IBM) message queue and copying all its properties to the Artemis message before sending it.</p>
  
  <p>I have tested this with both AMQ 7.3.0.GA and Apache ActiveMQ Artemis 2.6.2, with both native (org.apache.activemq.artemis-jms-client) and AMQP (org.apache.qpid.qpid-jms-client) clients.</p>
  
  <p>Is there some configuration I must set on the broker to make it populate JMS message IDs correctly?</p>