All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Class Description ConfigurableScenarioDecider ConfigurableScenarioConnectionFactoryWrapper.ScenarioDecider, whose defaults implements the logic described inScenarioConnectionFactoryProducerand handles all the Spring Profiles specified inMatsProfiles.ConfigurableScenarioDecider.SpecificScenarioDecider An implementation of this interface can decide whether a specific Mats Scenario is active.ConfigurableScenarioDecider.StandardSpecificScenarioDecider Standard implementation ofConfigurableScenarioDecider.SpecificScenarioDeciderused in the default configuration ofConfigurableScenarioDecider, which takes a set of profile-or-properties names and checks whether they are present as a Spring Profile, or (with the "-" replaced by ".") whether it exists as a property in the Spring Environment.ConnectionFactoryWithStartStopWrapper A abstractConnectionFactoryWrapperrecognized byScenarioConnectionFactoryProducer, which has a start() and stop() method, which can be used if you need to fire up a local MQ Broker: This class is meant to be extended to provide such functionality.JmsMatsTransactionManager_JmsAndSpringManagedSqlTx Implementation ofJmsMatsTransactionManagerthat in addition to the JMS transaction keeps a SpringPlatformTransactionManageremploying a JDBC DataSource for which it keeps transaction demarcation along with the JMS transaction, by means of "Best Effort 1 Phase Commit".JmsMatsTransactionManager_JmsAndSpringManagedSqlTx.DeferredConnectionProxyDataSourceWrapper_InfrastructureProxy Extension ofDeferredConnectionProxyDataSourceWrapperwhich implementsInfrastructureProxy.MatsProfiles Specifies Spring Profiles (and also which Spring Environment variables) that are relevant for Mats when used with conjunction withScenarioConnectionFactoryProducerand the default configuration ofConfigurableScenarioDecider.MatsScenario The three different Mats Scenarios that theScenarioConnectionFactoryWrapperjuggles between based on the results of a set of threeScenarioConnectionFactoryWrapper.ScenarioDeciders, with an optional default choice.ScenarioConnectionFactoryProducer Provides a factory for a Spring-integrated Wrapper/Facade around a JMS ConnectionFactory, which in addition to supporting the production setup, also facilitates the development situation where you often want to run against either an in-vm MQ Broker or against a MQ Broker running on localhost, and also integrates with the "mats-spring-test" integration test library where when run with theMatsTestProfileyou will most probably want an in-vm setup (typically mocking up the project-external Mats endpoints that the tested endpoints collaborate with).ScenarioConnectionFactoryWrapper AConnectionFactoryWrapperwhich lazily decides which of the threeMatsScenarios are active, and produces the wrapper-targetConnectionFactorybased on that - you most probably want to useScenarioConnectionFactoryProducerto make an instance of this class, but you can configure it directly too.ScenarioConnectionFactoryWrapper.ConnectionFactoryProvider A ConnectionFactory provider which can throw Exceptions - if it returns aConnectionFactoryWithStartStopWrapper, start() and stop() will be invoked on that, read more on its JavaDoc.ScenarioConnectionFactoryWrapper.CouldNotGetConnectionFactoryFromProviderException ScenarioConnectionFactoryWrapper.CouldNotStartConnectionFactoryWithStartStopWrapperException ScenarioConnectionFactoryWrapper.CouldNotStopConnectionFactoryWithStartStopWrapperException ScenarioConnectionFactoryWrapper.ScenarioDecider We need a way to decide between the three differentMatsScenarios.SpringJmsMatsFactoryProducer Provides an easy way to get hold of the most probableJmsMatsFactorytransaction manager configuration in the Spring world (usingJmsMatsTransactionManager_JmsAndSpringManagedSqlTx, or only theJmsMatsTransactionManager_Jmsif no DataSource is needed).SpringJmsMatsFactoryWrapper Wrapper that should be used for a JmsMatsFactory in a Spring context.