Package org.apache.uima.ducc.transport.event

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


     */
  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

     * @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

Related Classes of org.apache.uima.ducc.transport.event.CancelServiceDuccEvent

Copyright © 2018 www.massapicom. 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.