org.mule.routing.outbound
Class ExceptionBasedRouterTestCase
java.lang.Object
org.mule.tck.junit4.AbstractMuleTestCase
org.mule.tck.junit4.AbstractMuleContextTestCase
org.mule.routing.outbound.ExceptionBasedRouterTestCase
public class ExceptionBasedRouterTestCase
- extends AbstractMuleContextTestCase
Methods inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase |
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, 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 |
ExceptionBasedRouterTestCase
public ExceptionBasedRouterTestCase()
testSuccessfulExceptionRouterSynchronous
public void testSuccessfulExceptionRouterSynchronous()
throws Exception
- Multiple targets, no failures. MuleEvent dispatched asynchronously, but forced
into sync mode. Test case ends here.
- Throws:
Exception
testBothFailing
public void testBothFailing()
throws Exception
- Both targets fail during dispatch. The first endpoint should be forced into
sync mode.
- Throws:
Exception
testFailFirstSuccessSecondSync
public void testFailFirstSuccessSecondSync()
throws Exception
- The first endpoint fails, second succeeds. Events are being sent
synchronously.
- Throws:
Exception
testFailFirstSuccessSecondAsync
public void testFailFirstSuccessSecondAsync()
throws Exception
- The first endpoint fails, second succeeds. Events are being forced into a sync
mode, until we reach the last one.
- Throws:
Exception
testFirstHadExceptionPayloadSuccessSecondSyncWithExceptionPayload
public void testFirstHadExceptionPayloadSuccessSecondSyncWithExceptionPayload()
throws Exception
- The first endpoint contains exception payload in return message, second
succeeds. Events are being sent synchronously.
- Throws:
Exception
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.