Package org.springframework.jms.connection

Provides a PlatformTransactionManager implementation for a single JMS ConnectionFactory, and a SingleConnectionFactory adapter.

See:
          Description

Interface Summary
ConnectionFactoryUtils.ResourceFactory Callback interface for resource creation.
SessionProxy Subinterface of javax.jms.Session to be implemented by Session proxies.
SmartConnectionFactory Extension of the javax.jms.ConnectionFactory interface, indicating how to release Connections obtained from it.
 

Class Summary
CachedMessageConsumer JMS MessageConsumer decorator that adapts all calls to a shared MessageConsumer instance underneath.
CachedMessageProducer JMS MessageProducer decorator that adapts calls to a shared MessageProducer instance underneath, managing QoS settings locally within the decorator.
CachingConnectionFactory SingleConnectionFactory subclass that adds javax.jms.Session caching as well javax.jms.MessageProducer caching.
CachingConnectionFactory.ConsumerCacheKey Simple wrapper class around a Destination and other consumer attributes.
CachingConnectionFactory.DestinationCacheKey Simple wrapper class around a Destination reference.
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 JMS javax.jms.ConnectionFactory, in particular for obtaining transactional JMS resources for a given ConnectionFactory.
ConnectionFactoryUtils.JmsResourceSynchronization Callback for resource cleanup at the end of a non-native JMS transaction (e.g.
DelegatingConnectionFactory javax.jms.ConnectionFactory implementation that delegates all calls to a given target javax.jms.ConnectionFactory, adapting specific create(Queue/Topic)Connection calls to the target ConnectionFactory if necessary (e.g.
JmsResourceHolder JMS resource holder, wrapping a JMS Connection and a JMS Session.
JmsTransactionManager PlatformTransactionManager implementation for a single JMS javax.jms.ConnectionFactory.
JmsTransactionManager.JmsTransactionObject JMS transaction object, representing a JmsResourceHolder.
JmsTransactionManager102 Deprecated. as of Spring 3.0, in favor of the JMS 1.1 based JmsTransactionManager
SingleConnectionFactory A JMS ConnectionFactory adapter that returns the same Connection from all SingleConnectionFactory.createConnection() calls, and ignores calls to javax.jms.Connection#close().
SingleConnectionFactory.InternalChainedExceptionListener Internal chained ExceptionListener for handling the internal recovery listener in combination with a user-specified listener.
SingleConnectionFactory102 Deprecated. as of Spring 3.0, in favor of the JMS 1.1 based SingleConnectionFactory
TransactionAwareConnectionFactoryProxy Proxy for a target JMS javax.jms.ConnectionFactory, adding awareness of Spring-managed transactions.
TransactionAwareConnectionFactoryProxy.CloseSuppressingSessionInvocationHandler Invocation handler that suppresses close calls for a transactional JMS Session.
UserCredentialsConnectionFactoryAdapter An adapter for a target JMS javax.jms.ConnectionFactory, applying the given user credentials to every standard createConnection() call, that is, implicitly invoking createConnection(username, password) on the target.
UserCredentialsConnectionFactoryAdapter.JmsUserCredentials Inner class used as ThreadLocal value.
 

Exception Summary
SynchedLocalTransactionFailedException Exception thrown when a synchronized local transaction failed to complete (after the main transaction has already completed).
 

Package org.springframework.jms.connection Description

Provides a PlatformTransactionManager implementation for a single JMS ConnectionFactory, and a SingleConnectionFactory adapter.