public class DynamicOutboundEndpointTestCase extends AbstractMessageProcessorTestCase
DynamicOutboundEndpoint.process(org.mule.api.MuleEvent)
down to
AbstractMessageDispatcher
and the chain of MessageProcessor's that
implement the outbound endpoint processing.Modifier and Type | Class and Description |
---|---|
static class |
DynamicOutboundEndpointTestCase.MyMessageDispatcherFactory |
AbstractMessageProcessorTestCase.ExceptionThrowingMessageProcessr, AbstractMessageProcessorTestCase.ObjectAwareProcessor, AbstractMessageProcessorTestCase.TestEndpointMessageNotificationListener, AbstractMessageProcessorTestCase.TestExceptionListener, AbstractMessageProcessorTestCase.TestFilter, AbstractMessageProcessorTestCase.TestListener, AbstractMessageProcessorTestCase.TestSecurityNotificationListener
echoEventAnswer, RESPONSE_MESSAGE, responseMessage, TEST_URI
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, 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 |
---|
DynamicOutboundEndpointTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertMessageEqualEncodingPropertyAdded(MuleMessage expect,
MuleMessage actual) |
protected void |
assertMessageSentEqual(MuleEvent event) |
void |
cachesResolvedStaticEndpoints() |
protected OutboundEndpoint |
createOutboundEndpoint(Filter filter,
SecurityFilter securityFilter,
Transformer in,
Transformer response,
MessageExchangePattern exchangePattern,
TransactionConfig txConfig) |
void |
setCurrentTestInstance() |
void |
testConnectorNotAvailableOnDynamicEndpoint() |
void |
testDefaultFlowOneWay() |
void |
testDefaultFlowRequestResponse() |
void |
testDispatchNotification() |
void |
testExceptionHandling() |
void |
testSecurityFilterAccept() |
void |
testSecurityFilterNotAccept() |
void |
testSendNotification() |
void |
testTimeoutSetOnEvent() |
void |
testTransaction() |
void |
testTransformers() |
configureMuleContext, createTestInboundEndpoint, createTestInboundEndpoint, createTestInboundEndpoint, createTestInboundEvent, createTestOutboundEndpoint, createTestOutboundEndpoint, createTestOutboundEndpoint, createTestOutboundEndpoint, createTestOutboundEvent, createTestOutboundEvent, createTestResponseMuleMessage, customizeEndpointBuilder, doSetUp
addBuilders, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUpBeforeMuleContextCreation, doTearDown, doTearDownAfterMuleContextDispose, getBuilder, getConfigurationResources, getFileInsideWorkingDirectory, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, 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
public void setCurrentTestInstance() throws ServiceException
ServiceException
public void testDefaultFlowRequestResponse() throws Exception
Exception
public void testSecurityFilterNotAccept() throws Exception
Exception
public void testConnectorNotAvailableOnDynamicEndpoint() throws Exception
Exception
public void testTransaction()
public void testExceptionHandling()
public void cachesResolvedStaticEndpoints() throws Exception
Exception
protected void assertMessageSentEqual(MuleEvent event) throws MuleException
MuleException
protected void assertMessageEqualEncodingPropertyAdded(MuleMessage expect, MuleMessage actual)
protected OutboundEndpoint createOutboundEndpoint(Filter filter, SecurityFilter securityFilter, Transformer in, Transformer response, MessageExchangePattern exchangePattern, TransactionConfig txConfig) throws Exception
Exception
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.