Package org.apache.oodt.cas.workflow.system

Examples of org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManagerClient.sendEvent()


    XmlRpcWorkflowManagerClient wm = null;

    try {
      wm = new XmlRpcWorkflowManagerClient(new URL(
          metadata.getMetadata(CoreMetKeys.WORKFLOW_MANAGER_URL)));
      wm.sendEvent(config.getProperty("eventName"), metadata);
    } catch (Exception e) {
      throw new WorkflowTaskInstanceException(e.getMessage());
    }
  }
View Full Code Here


         throws CrawlerActionException {
      try {
         XmlRpcWorkflowManagerClient wClient = new XmlRpcWorkflowManagerClient(
               new URL(this.workflowMgrUrl));
         String ingestSuffix = this.ingestSuffix;
         return wClient.sendEvent(productMetadata.getMetadata(PRODUCT_TYPE)
               + ingestSuffix, productMetadata);
      } catch (Exception e) {
         throw new CrawlerActionException(
               "Failed to update workflow manager : " + e.getMessage());
      }
View Full Code Here

            throws CrawlerActionException {
        try {
            XmlRpcWorkflowManagerClient wClient = new XmlRpcWorkflowManagerClient(
                    new URL(this.workflowMgrUrl));
            String ingestSuffix = this.ingestSuffix;
            return wClient.sendEvent(productMetadata.getMetadata(PRODUCT_TYPE)
                    + ingestSuffix, productMetadata);
        } catch (Exception e) {
            throw new CrawlerActionException(
                    "Failed to update workflow manager : " + e.getMessage());
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.