org.mule.tck.listener
Class ExceptionListener

java.lang.Object
  extended by 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.
 
Method Summary
 ExceptionListener setNumberOfExecutionsRequired(int numberOfExecutionsRequired)
           
 ExceptionListener setTimeoutInMillis(int timeout)
           
 void waitUntilAllNotificationsAreReceived()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionListener

public ExceptionListener(MuleContext muleContext)
Constructor for creating a listener for any exception thrown within a flow or message source.

Method Detail

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.