Top Description Interfaces Classes
module spring.jms

Package org.springframework.jms.connection

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

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

Interface Summary

Modifier and TypeInterface and Description
public interface
SessionProxy

Subinterface of jakarta.jms.Session to be implemented by Session proxies.

public interface
SmartConnectionFactory

Extension of the jakarta.jms.ConnectionFactory interface, indicating how to release Connections obtained from it.

Class Summary

Modifier and TypeClass and Description
pack-priv class
CachedMessageConsumer

JMS MessageConsumer decorator that adapts all calls to a shared MessageConsumer instance underneath.

pack-priv class
CachedMessageProducer

JMS MessageProducer decorator that adapts calls to a shared MessageProducer instance underneath, managing QoS settings locally within the decorator.

public class
public class
ChainedExceptionListener

Implementation of the JMS ExceptionListener interface that supports chaining, allowing the addition of multiple ExceptionListener instances in order.

public abstract class
ConnectionFactoryUtils

Helper class for managing a JMS jakarta.jms.ConnectionFactory, in particular for obtaining transactional JMS resources for a given ConnectionFactory.

public class
DelegatingConnectionFactory

jakarta.jms.ConnectionFactory implementation that delegates all calls to a given target jakarta.jms.ConnectionFactory, adapting specific create(Queue/Topic)Connection calls 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).

public class
JmsResourceHolder

Resource holder wrapping a JMS Connection and a JMS Session.

public class
public class
SingleConnectionFactory

A JMS ConnectionFactory adapter that returns the same Connection from all createConnection() calls, and ignores calls to jakarta.jms.Connection#close().

public class
SynchedLocalTransactionFailedException

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

public class
TransactionAwareConnectionFactoryProxy

Proxy for a target JMS jakarta.jms.ConnectionFactory, adding awareness of Spring-managed transactions.

public class
UserCredentialsConnectionFactoryAdapter

An adapter for a target JMS jakarta.jms.ConnectionFactory, applying the given user credentials to every standard createConnection() call, that is, implicitly invoking createConnection(username, password) on the target.