Class CamelSWFWorkflowClient
- java.lang.Object
-
- org.apache.camel.component.aws.swf.CamelSWFWorkflowClient
-
public class CamelSWFWorkflowClient extends Object
-
-
Constructor Summary
Constructors Constructor Description CamelSWFWorkflowClient(SWFEndpoint endpoint, SWFConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
describeWorkflowInstance(String workflowId, String runId)
List<com.amazonaws.services.simpleworkflow.model.HistoryEvent>
getWorkflowExecutionHistory(String workflowId, String runId)
Object
getWorkflowExecutionState(String workflowId, String runId, Class<?> aClass)
void
requestCancelWorkflowExecution(String workflowId, String runId)
void
signalWorkflowExecution(String workflowId, String runId, String signalName, Object arguments)
String[]
startWorkflowExecution(String workflowId, String runId, String eventName, String version, Object arguments, List<String> tags)
void
terminateWorkflowExecution(String workflowId, String runId, String reason, String details, String childPolicy)
-
-
-
Constructor Detail
-
CamelSWFWorkflowClient
public CamelSWFWorkflowClient(SWFEndpoint endpoint, SWFConfiguration configuration)
-
-
Method Detail
-
signalWorkflowExecution
public void signalWorkflowExecution(String workflowId, String runId, String signalName, Object arguments)
-
getWorkflowExecutionState
public Object getWorkflowExecutionState(String workflowId, String runId, Class<?> aClass) throws Throwable
- Throws:
Throwable
-
requestCancelWorkflowExecution
public void requestCancelWorkflowExecution(String workflowId, String runId)
-
terminateWorkflowExecution
public void terminateWorkflowExecution(String workflowId, String runId, String reason, String details, String childPolicy)
-
startWorkflowExecution
public String[] startWorkflowExecution(String workflowId, String runId, String eventName, String version, Object arguments, List<String> tags)
-
describeWorkflowInstance
public Map<String,Object> describeWorkflowInstance(String workflowId, String runId)
-
-