Ejemplo n.º 1
0
  protected void updateTargetVariables(ActivitiEndpoint endpoint) {
    toTargetType = null;
    if (endpoint.isCopyVariablesToBodyAsMap()) toTargetType = TargetType.BODY_AS_MAP;
    else if (endpoint.isCopyCamelBodyToBody()) toTargetType = TargetType.BODY;
    else if (endpoint.isCopyVariablesToProperties()) toTargetType = TargetType.PROPERTIES;

    if (toTargetType == null) setPropertTargetVariable(endpoint);
  }