org.mule.session
Class InvocationPropertiesTestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.tck.junit4.AbstractMuleContextTestCase
          extended by org.mule.session.InvocationPropertiesTestCase

public class InvocationPropertiesTestCase
extends AbstractMuleContextTestCase


Field Summary
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY
 
Constructor Summary
InvocationPropertiesTestCase()
           
 
Method Summary
 void asyncInterceptingProcessorInvocationPropertyPropagation()
          MuleSession is not copied when async intercepting processor is used
 void getInvocationPropertyViaMessageAPI()
           
 void processFlowInvocationPropertyPropagation()
          When invoking a Flow directly session properties are preserved
 void serializationInvocationPropertyPropagation()
          MuleSession is not copied when async intercepting processor is used
 void serializationNonSerializableInvocationPropertyPropagation()
          Serialization of a MuleSession with session properties serializes only serializable properties
 void setInvocationPropertyBeforeExistingEvent()
           
 void setInvocationPropertyBeforeNewEvent()
           
 void setInvocationPropertyViaMessageAPI()
           
 
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
 

Constructor Detail

InvocationPropertiesTestCase

public InvocationPropertiesTestCase()
Method Detail

setInvocationPropertyBeforeNewEvent

public void setInvocationPropertyBeforeNewEvent()
                                         throws Exception
Throws:
Exception

setInvocationPropertyBeforeExistingEvent

public void setInvocationPropertyBeforeExistingEvent()
                                              throws Exception
Throws:
Exception

setInvocationPropertyViaMessageAPI

public void setInvocationPropertyViaMessageAPI()
                                        throws Exception
Throws:
Exception

getInvocationPropertyViaMessageAPI

public void getInvocationPropertyViaMessageAPI()
                                        throws Exception
Throws:
Exception

asyncInterceptingProcessorInvocationPropertyPropagation

public void asyncInterceptingProcessorInvocationPropertyPropagation()
                                                             throws Exception
MuleSession is not copied when async intercepting processor is used

Throws:
Exception

serializationInvocationPropertyPropagation

public void serializationInvocationPropertyPropagation()
                                                throws Exception
MuleSession is not copied when async intercepting processor is used

Throws:
Exception

serializationNonSerializableInvocationPropertyPropagation

public void serializationNonSerializableInvocationPropertyPropagation()
                                                               throws Exception
Serialization of a MuleSession with session properties serializes only serializable properties

Throws:
Exception

processFlowInvocationPropertyPropagation

public void processFlowInvocationPropertyPropagation()
                                              throws Exception
When invoking a Flow directly session properties are preserved

Throws:
Exception


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.