org.mule.processor
Class AsyncInterceptingMessageProcessorTestCase
java.lang.Object
org.mule.tck.junit4.AbstractMuleTestCase
org.mule.tck.junit4.AbstractMuleContextTestCase
org.mule.processor.AsyncInterceptingMessageProcessorTestCase
- All Implemented Interfaces:
- ExceptionListener
- Direct Known Subclasses:
- LaxAsyncInterceptingMessageProcessorTestCase, SedaStageInterceptingMessageProcessorTestCase
public class AsyncInterceptingMessageProcessorTestCase
- extends AbstractMuleContextTestCase
- implements ExceptionListener
Methods inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase |
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doTearDown, getBuilder, getConfigurationResources, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext |
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase |
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messageProcessor
protected AsyncInterceptingMessageProcessor messageProcessor
target
protected org.mule.processor.AsyncInterceptingMessageProcessorTestCase.TestListener target
exceptionThrown
protected Exception exceptionThrown
latch
protected Latch latch
AsyncInterceptingMessageProcessorTestCase
public AsyncInterceptingMessageProcessorTestCase()
doSetUp
protected void doSetUp()
throws Exception
- Description copied from class:
AbstractMuleContextTestCase
- Enables the adding of extra behavior on the set up stage of a test right
after the creation of the mule context in
AbstractMuleContextTestCase.setUpMuleContext()
.
Under normal circumstances this method could be replaced by a
@Before
annotated method.
- Overrides:
doSetUp
in class AbstractMuleContextTestCase
- Throws:
Exception
- if something fails that should halt the test case
testProcessOneWay
public void testProcessOneWay()
throws Exception
- Throws:
Exception
testProcessRequestResponse
public void testProcessRequestResponse()
throws Exception
- Throws:
Exception
testProcessOneWayWithTx
public void testProcessOneWayWithTx()
throws Exception
- Throws:
Exception
testProcessRequestResponseWithTx
public void testProcessRequestResponseWithTx()
throws Exception
- Throws:
Exception
testWorkMessagingException
public void testWorkMessagingException()
throws Exception
- Throws:
Exception
testWorkException
public void testWorkException()
throws Exception
- Throws:
Exception
assertSync
protected void assertSync(MessageProcessor processor,
MuleEvent event)
throws MuleException
- Throws:
MuleException
assertAsync
protected void assertAsync(MessageProcessor processor,
MuleEvent event)
throws MuleException,
InterruptedException
- Throws:
MuleException
InterruptedException
createAsyncInterceptingMessageProcessor
protected AsyncInterceptingMessageProcessor createAsyncInterceptingMessageProcessor(MessageProcessor listener)
throws Exception
- Throws:
Exception
exceptionThrown
public void exceptionThrown(Exception e)
- Specified by:
exceptionThrown
in interface ExceptionListener
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.