code: public void setMessageId(String messageId) {
          try {
              this.messageId = new URI(messageId);
          } catch (URISyntaxException e) {
              throw new CitrusRuntimeException("Invalid messageId uri", e);
          }
      }
docs: Sets the message id from uri string.
  @param messageId the messageId to set