}
private void attacheLatchCountdownProcessor(String flowName)
{
flow = (Flow) muleContext.getRegistry().lookupFlowConstruct(flowName);
DefaultMessagingExceptionStrategy exceptionListener = (DefaultMessagingExceptionStrategy) flow.getExceptionListener();
exceptionListener.getMessageProcessors().add(new MessageProcessor()
{
public MuleEvent process(MuleEvent event) throws MuleException
{
latch.countDown();
return event;