Example usage for com.amazonaws.services.simpleworkflow.model TerminateWorkflowExecutionRequest TerminateWorkflowExecutionRequest

List of usage examples for com.amazonaws.services.simpleworkflow.model TerminateWorkflowExecutionRequest TerminateWorkflowExecutionRequest

Introduction

In this page you can find the example usage for com.amazonaws.services.simpleworkflow.model TerminateWorkflowExecutionRequest TerminateWorkflowExecutionRequest.

Prototype

TerminateWorkflowExecutionRequest

Source Link

Usage

From source file:org.wildfly.camel.test.common.aws.SWFUtils.java

License:Apache License

public static void terminateWorkflowExecution(AmazonSimpleWorkflowClient swfClient, String workflowId) {
    TerminateWorkflowExecutionRequest terminateReq = new TerminateWorkflowExecutionRequest()
            .withWorkflowId(workflowId).withDomain(DOMAIN);
    swfClient.terminateWorkflowExecution(terminateReq);
}