docs: private String getMessageId(Message message) {
          String messageId = null;
  
          AddressingProperties addrProp = ContextUtils.retrieveMAPs(message, false,
                  MessageUtils.isOutbound(message));
          if (addrProp != null && addrProp.getMessageID() != null) {
              messageId = addrProp.getMessageID().getValue();
          }
  
          return messageId;
      }