public class SessionPropertiesTestCase extends AbstractMuleContextTestCase
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 |
---|
SessionPropertiesTestCase() |
Modifier and Type | Method and Description |
---|---|
void |
asyncInterceptingProcessorSessionPropertyPropagation()
MuleSession is not copied when async intercepting processor is used
|
void |
defaultSessionHandlerNonSerializableSessionPropertyPropagation()
Serialization of a MuleSession with session properties to message using SessionHandler serializes only
serializable properties
|
void |
defaultSessionHandlerSessionPropertyPropagation()
Serialization of a MuleSession with session properties fails (no warning is given)
|
void |
processFlowSessionPropertyPropagation()
When invoking a Flow directly session properties are preserved
|
void |
serializationNonSerializableSessionPropertyPropagation()
Serialization of a MuleSession with session properties serializes only serializable properties
|
void |
serializationSessionPropertyPropagation()
MuleSession is not copied when async intercepting processor is used
|
void |
setSessionPropertyNoEvent()
Session properties set via message API are lost and unavailable via both message and session API's.
|
void |
setSessionPropertyOnMessageGetFromSession()
Properties set via via message api are available via session API.
|
void |
setSessionPropertyOnSessionGetFromMessage()
Properties set via via session api are available via message API.
|
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, 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 setSessionPropertyNoEvent() throws Exception
Exception
public void setSessionPropertyOnMessageGetFromSession() throws Exception
Exception
public void setSessionPropertyOnSessionGetFromMessage() throws Exception
Exception
public void asyncInterceptingProcessorSessionPropertyPropagation() throws Exception
Exception
public void serializationSessionPropertyPropagation() throws Exception
Exception
public void defaultSessionHandlerSessionPropertyPropagation() throws Exception
Exception
public void serializationNonSerializableSessionPropertyPropagation() throws Exception
Exception
public void defaultSessionHandlerNonSerializableSessionPropertyPropagation() throws Exception
Exception
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.