public MockOutputMessage doOutput() throws InterruptedException
{
logger.trace("handling output message for mp with key " + key);
imIn.countDown();
// System.out.println("In Output with countdown:" + imIn);
MockOutputMessage out = new MockOutputMessage(key, "output");
if (finishOutputLatch != null)
finishOutputLatch.countDown();
if (forceOutputException)
throw new RuntimeException("Forced Exception!");