org.mule.tck.listener
Class ExceptionListener
java.lang.Object
org.mule.tck.listener.ExceptionListener
public class ExceptionListener
- extends Object
Listener for exception thrown by a message source or flow.
Constructor Summary |
ExceptionListener(MuleContext muleContext)
Constructor for creating a listener for any exception thrown within a flow or message source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionListener
public ExceptionListener(MuleContext muleContext)
- Constructor for creating a listener for any exception thrown within a flow or message source.
waitUntilAllNotificationsAreReceived
public void waitUntilAllNotificationsAreReceived()
setNumberOfExecutionsRequired
public ExceptionListener setNumberOfExecutionsRequired(int numberOfExecutionsRequired)
- Parameters:
numberOfExecutionsRequired
- number of times that the listener must be notified before releasing the latch.
setTimeoutInMillis
public ExceptionListener setTimeoutInMillis(int timeout)
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.