Example usage for com.amazonaws.services.simpleworkflow AmazonSimpleWorkflowClient subclass-usage

List of usage examples for com.amazonaws.services.simpleworkflow AmazonSimpleWorkflowClient subclass-usage

Introduction

In this page you can find the example usage for com.amazonaws.services.simpleworkflow AmazonSimpleWorkflowClient subclass-usage.

Usage

From source file org.apache.camel.component.aws.swf.AmazonSWFClientMock.java

public class AmazonSWFClientMock extends AmazonSimpleWorkflowClient {

    @Override
    public Run startWorkflowExecution(StartWorkflowExecutionRequest startWorkflowExecutionRequest)
            throws AmazonServiceException, AmazonClientException {
        return new Run().withRunId("run1");