public class CatchMessagingExceptionStrategyTestCase extends AbstractMuleContextTestCase
Modifier and Type | Field and Description |
---|---|
protected MuleContext |
muleContext |
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, RECEIVE_TIMEOUT, TEST_MESSAGE, TEST_PAYLOAD, WORKING_DIRECTORY_SYSTEM_PROPERTY_KEY, workingDirectory
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Constructor and Description |
---|
CatchMessagingExceptionStrategyTestCase() |
Modifier and Type | Method and Description |
---|---|
void |
before() |
void |
fallbackToBlocking() |
void |
testHandleExceptionWithConfiguredMessageProcessors() |
void |
testHandleExceptionWithMessageProcessorsChangingEvent() |
void |
testHandleExceptionWithNoConfig() |
void |
testMessageToStringNotCalledOnFailure()
On fatal error, the exception strategies are not supposed to use MuleMessage.toString() as it could
potentially log sensible data.
|
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, doSetUpBeforeMuleContextCreation, doTearDown, doTearDownAfterMuleContextDispose, getBuilder, getConfigurationResources, getFileInsideWorkingDirectory, getNonBlockingResponse, getNonBlockingTestEventUsingFlow, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestMuleMessage, getTestMuleMessage, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, getWorkingDirectory, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext
clearExcludedFlag, clearRequestContext, clearTestCaseName, createTestTimeoutRule, dumpFilteredThreadsInTest, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
@Mock(answer=RETURNS_DEEP_STUBS) protected MuleContext muleContext
public CatchMessagingExceptionStrategyTestCase()
public void testHandleExceptionWithNoConfig() throws Exception
Exception
public void testHandleExceptionWithConfiguredMessageProcessors() throws Exception
Exception
public void testHandleExceptionWithMessageProcessorsChangingEvent() throws Exception
Exception
public void testMessageToStringNotCalledOnFailure() throws Exception
Exception
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.