code: public String getMessageId() {
          Object messageId = getHeader(JmsMessageHeaders.MESSAGE_ID);
  
          if (messageId != null) {
              return messageId.toString();
          }
  
          return null;
      }
docs: Gets the JMS messageId header.
  @return