public class FlowExecutionListener extends Object
Constructor and Description |
---|
FlowExecutionListener(MuleContext muleContext)
Constructor for releasing latch when any flow execution completes
|
FlowExecutionListener(String flowName,
MuleContext muleContext)
Constructor for releasing latch when flow with name flowName completes
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(Callback<MuleEvent> callback) |
FlowExecutionListener |
setNumberOfExecutionsRequired(int numberOfExecutionsRequired) |
FlowExecutionListener |
setTimeoutInMillis(int timeout) |
void |
waitUntilFlowIsComplete() |
public FlowExecutionListener(MuleContext muleContext)
public FlowExecutionListener(String flowName, MuleContext muleContext)
public void waitUntilFlowIsComplete()
public FlowExecutionListener setNumberOfExecutionsRequired(int numberOfExecutionsRequired)
numberOfExecutionsRequired
- number of times that the listener must be notified before releasing the latch.public FlowExecutionListener setTimeoutInMillis(int timeout)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.