public class JmsConnectorJndiTestCase extends AbstractJmsFunctionalTestCase
AbstractJmsFunctionalTestCase.AbstractScenario, AbstractJmsFunctionalTestCase.NonTransactedScenario, AbstractJmsFunctionalTestCase.Scenario, AbstractJmsFunctionalTestCase.ScenarioCommit, AbstractJmsFunctionalTestCase.ScenarioNotReceive, AbstractJmsFunctionalTestCase.ScenarioReceive, AbstractJmsFunctionalTestCase.ScenarioRollback
BROADCAST_TOPIC_ENDPOINT_KEY, DEFAULT_INPUT_MESSAGE, DEFAULT_OUTPUT_MESSAGE, INBOUND_ENDPOINT_KEY, jmsConfig, log, MIDDLE_ENDPOINT_KEY, MIDDLE2_ENDPOINT_KEY, MIDDLE3_ENDPOINT_KEY, OUTBOUND_ENDPOINT_KEY, purgeQueuesOnPreSetUp, purgeQueuesOnTearDown, scenarioCommit, scenarioNotReceive, scenarioNoTx, scenarioReceive, scenarioRollback
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 |
---|
JmsConnectorJndiTestCase() |
Modifier and Type | Method and Description |
---|---|
protected String |
getConfigFile() |
void |
testConnectionFactoryFromJndi() |
void |
testNonJndiDestination()
Use a non-JNDI Destination when jndiDestinations="false", test should pass.
|
void |
testNonJndiDestinationForce()
Use a non-JNDI Destination when forceJndiDestinations="true", test should fail.
|
void |
testNonJndiDestinationForceWithJndiNameResolver()
Use a non-JNDI Destination when forceJndiDestinations="true", test should fail.
|
void |
testNonJndiDestinationOptional()
Use a non-JNDI Destination when jndiDestinations="true" but forceJndiDestinations="false", test should pass.
|
void |
testNonJndiDestinationOptionalWithJndiNameResolver()
Use a non-JNDI Destination when jndiDestinations="true" but forceJndiDestinations="false", test should pass.
|
void |
testNonJndiDestinationWithJndiNameResolver()
Use a non-JNDI Destination when jndiDestinations="false", test should pass.
|
void |
testQueueFromJndi() |
void |
testQueueFromJndiWithJndiNameResolver() |
void |
testTopicFromJndi() |
void |
testTopicFromJndiWithJndiNameResolver() |
checkConfig, createInputDestination, createJmsConfig, createOutputDestination, dispatchMessage, dispatchMessage, dispatchMessage, doSetUp, doTearDown, getBuilder, getClient, getConnection, getDeadLetterQueueName, getInboundEndpoint, getInboundQueueName, getJmsConfig, getOutboundEndpoint, getOutboundQueueName, getSmallTimeout, getStartUpProperties, getTimeout, isMultipleProviders, jmsProviderConfigs, purge, purgeTopic, purgeTopics, receive, receiveMessage, receiveMessage, receiveMessage, runAsynchronousDispatching, send, setJmsConfig, setMultipleProviders
clearFlowAssertions, getComponent, getComponent, getConfigFiles, getConfigResources, getFlowConstruct, getFunctionalTestComponent, getSubFlow, loadResource, loadResourceAsString, lookupFlowConstruct, runFlow, runFlow, runFlow, runFlowAndExpect, runFlowAndExpectProperty, runFlowWithPayloadAndExpect, runSchedulersOnce, stopFlowConstruct, stopFlowSchedulers, testFlow, testFlow
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUpBeforeMuleContextCreation, doTearDownAfterMuleContextDispose, getConfigurationResources, getFileInsideWorkingDirectory, getSensingNullMessageProcessor, 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 String getConfigFile()
getConfigFile
in class FunctionalTestCase
public void testConnectionFactoryFromJndi() throws Exception
Exception
public void testNonJndiDestination() throws Exception
Exception
public void testNonJndiDestinationOptional() throws Exception
Exception
public void testNonJndiDestinationForce() throws Exception
Exception
public void testQueueFromJndiWithJndiNameResolver() throws Exception
Exception
public void testTopicFromJndiWithJndiNameResolver() throws Exception
Exception
public void testNonJndiDestinationWithJndiNameResolver() throws Exception
Exception
public void testNonJndiDestinationOptionalWithJndiNameResolver() throws Exception
Exception
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.