public class OutboundEndpointTestCase extends AbstractMessageProcessorTestCase
MessageProcessor.process(MuleEvent)
down to
AbstractMessageDispatcher
and the chain of MessageProcessor's that
implement the outbound endpoint processing.AbstractMessageProcessorTestCase.ExceptionThrowingMessageProcessr, AbstractMessageProcessorTestCase.ObjectAwareProcessor, AbstractMessageProcessorTestCase.TestEndpointMessageNotificationListener, AbstractMessageProcessorTestCase.TestExceptionListener, AbstractMessageProcessorTestCase.TestFilter, AbstractMessageProcessorTestCase.TestListener, AbstractMessageProcessorTestCase.TestSecurityNotificationListener
Modifier and Type | Field and Description |
---|---|
protected org.mule.endpoint.outbound.OutboundEndpointTestCase.FakeMessageDispatcher |
dispacher |
protected MuleEvent |
testOutboundEvent |
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 |
---|
OutboundEndpointTestCase() |
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
protected org.mule.endpoint.outbound.OutboundEndpointTestCase.FakeMessageDispatcher dispacher
protected MuleEvent testOutboundEvent
public void testSecurityFilterNotAccept() throws Exception
Exception
public void testTransaction()
public void testExceptionHandling()
protected MuleEvent assertMessageSent(boolean sync) throws MuleException
MuleException
protected MuleEvent assertMessageSentSame(boolean sync) throws MuleException
MuleException
protected void assertMessageNotSent() throws MuleException
MuleException
protected void assertMessageEqualEncodingPropertyAdded(MuleMessage expect, MuleMessage actual)
protected OutboundEndpoint createOutboundEndpoint(String uri, Filter filter, SecurityFilter securityFilter, Transformer in, Transformer response, MessageExchangePattern exchangePattern, TransactionConfig txConfig) throws Exception
Exception
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.