程序包 org.springframework.jms.connection
Provides a PlatformTransactionManager implementation for a single JMS ConnectionFactory, and a SingleConnectionFactory adapter.
接口概要 接口 说明 ConnectionFactoryUtils.ResourceFactory Callback interface for resource creation.SessionProxy Subinterface ofSessionto be implemented by Session proxies.SmartConnectionFactory Extension of thejavax.jms.ConnectionFactoryinterface, indicating how to release Connections obtained from it.类概要 类 说明 CachingConnectionFactory ChainedExceptionListener Implementation of the JMS ExceptionListener interface that supports chaining, allowing the addition of multiple ExceptionListener instances in order.ConnectionFactoryUtils Helper class for managing a JMSConnectionFactory, in particular for obtaining transactional JMS resources for a given ConnectionFactory.DelegatingConnectionFactory ConnectionFactoryimplementation that delegates all calls to a given targetConnectionFactory, adapting specificcreate(Queue/Topic)Connectioncalls to the target ConnectionFactory if necessary (e.g. when running JMS 1.0.2 API based code against a generic JMS 1.1 ConnectionFactory, such as ActiveMQ's PooledConnectionFactory).JmsResourceHolder Resource holder wrapping a JMSConnectionand a JMSSession.JmsTransactionManager PlatformTransactionManagerimplementation for a single JMSConnectionFactory.SingleConnectionFactory A JMS ConnectionFactory adapter that returns the same Connection from allSingleConnectionFactory.createConnection()calls, and ignores calls toConnection.close().TransactionAwareConnectionFactoryProxy Proxy for a target JMSConnectionFactory, adding awareness of Spring-managed transactions.UserCredentialsConnectionFactoryAdapter An adapter for a target JMSConnectionFactory, applying the given user credentials to every standardcreateConnection()call, that is, implicitly invokingcreateConnection(username, password)on the target.异常错误概要 异常错误 说明 SynchedLocalTransactionFailedException Exception thrown when a synchronized local transaction failed to complete (after the main transaction has already completed).