Examples of CancelServiceDuccEvent


Examples of org.apache.uima.ducc.transport.event.CancelServiceDuccEvent

        SubmitServiceReplyDuccEvent replyServiceEvent = new SubmitServiceReplyDuccEvent();
        replyServiceEvent.setProperties(submitServiceEvent.getProperties());
        exchange.getIn().setBody(replyServiceEvent);
      }
      if(obj instanceof CancelServiceDuccEvent) {
        CancelServiceDuccEvent cancelServiceEvent = exchange.getIn().getBody(CancelServiceDuccEvent.class);
        CancelServiceReplyDuccEvent replyServiceEvent = new CancelServiceReplyDuccEvent();
        replyServiceEvent.setProperties(cancelServiceEvent.getProperties());
        exchange.getIn().setBody(replyServiceEvent);
      }
    }
View Full Code Here

Examples of org.apache.uima.ducc.transport.event.CancelServiceDuccEvent

     */
  public boolean execute()
        throws Exception
    {

        CancelServiceDuccEvent      cancelServiceDuccEvent      = new CancelServiceDuccEvent(requestProperties, DuccContext.Service);
        CancelServiceReplyDuccEvent cancelServiceReplyDuccEvent = null;
        try {
            cancelServiceReplyDuccEvent = (CancelServiceReplyDuccEvent) dispatcher.dispatchAndWaitForDuccReply(cancelServiceDuccEvent);
        } catch (Exception e) {
            message("Job not submitted:", e.getMessage());
View Full Code Here

Examples of org.apache.uima.ducc.transport.event.CancelServiceDuccEvent

     * @return True if the orchestrator accepts the job cancelation.
     */
  public boolean execute()
        throws Exception
    {
        CancelServiceDuccEvent      cancelServiceDuccEvent      = new CancelServiceDuccEvent(requestProperties, DuccContext.ManagedReservation);
        CancelServiceReplyDuccEvent cancelServiceReplyDuccEvent = null;
        try {
            cancelServiceReplyDuccEvent = (CancelServiceReplyDuccEvent) dispatcher.dispatchAndWaitForDuccReply(cancelServiceDuccEvent);
        } catch (Exception e) {
            message("Cancel not submitted:", 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.