public class ExceptionListener extends Object
| Constructor and Description |
|---|
ExceptionListener(MuleContext muleContext)
Constructor for creating a listener for any exception thrown within a flow or message source.
|
| Modifier and Type | Method and Description |
|---|---|
ExceptionListener |
setNumberOfExecutionsRequired(int numberOfExecutionsRequired) |
ExceptionListener |
setTimeoutInMillis(int timeout) |
void |
waitUntilAllNotificationsAreReceived() |
public ExceptionListener(MuleContext muleContext)
public void waitUntilAllNotificationsAreReceived()
public ExceptionListener setNumberOfExecutionsRequired(int numberOfExecutionsRequired)
numberOfExecutionsRequired - number of times that the listener must be notified before releasing the latch.public ExceptionListener setTimeoutInMillis(int timeout)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.