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());
return false;
} finally {
dispatcher.close();
}
/*
* process reply
*/
boolean rc = extractReply(cancelServiceReplyDuccEvent);
responseMessage = cancelServiceReplyDuccEvent.getProperties().getProperty(UiOption.Message.pname());
// need : getResponseMessage
// : canceled Pids
// : getDuccId
// duccMessageProcessor.out("Job"+" "+jobId+" "+msg);