Package org.springframework.jms.connection
Provides a PlatformTransactionManager implementation for a single JMS ConnectionFactory, and a SingleConnectionFactory adapter.
Interface Summary Interface Description ConnectionFactoryUtils.ResourceFactory Callback interface for resource creation.SessionProxy Subinterface ofSession
to be implemented by Session proxies.SmartConnectionFactory Extension of thejavax.jms.ConnectionFactory
interface, indicating how to release Connections obtained from it.Class Summary Class Description 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 ConnectionFactory
implementation that delegates all calls to a given targetConnectionFactory
, adapting specificcreate(Queue/Topic)Connection
calls to the target ConnectionFactory if necessary (e.g.JmsResourceHolder Resource holder wrapping a JMSConnection
and a JMSSession
.JmsTransactionManager PlatformTransactionManager
implementation 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.Exception Summary Exception Description SynchedLocalTransactionFailedException Exception thrown when a synchronized local transaction failed to complete (after the main transaction has already completed).