code: public void setFrom(String from) {
          try {
              this.from = new EndpointReference(new URI(from));
          } catch (URISyntaxException e) {
              throw new CitrusRuntimeException("Invalid from uri", e);
          }
      }
docs: Sets the from endpoint reference by string.
  @param from the from to set