Package org.springframework.jms.connection
@NullMarked
package org.springframework.jms.connection
Provides a PlatformTransactionManager implementation for a single
JMS ConnectionFactory, and a SingleConnectionFactory adapter.
-
ClassDescription
SingleConnectionFactory
subclass that addsSession
caching as well asMessageProducer
andMessageConsumer
caching.Implementation of the JMS ExceptionListener interface that supports chaining, allowing the addition of multiple ExceptionListener instances in order.Helper class for managing a JMSConnectionFactory
, in particular for obtaining transactional JMS resources for a given ConnectionFactory.Callback interface for resource creation.ConnectionFactory
implementation that delegates all calls to a given targetConnectionFactory
, adapting specificcreate(Queue/Topic)Connection
calls to the target ConnectionFactory if necessary (for example, when running JMS 1.0.2 API based code against a generic JMS 1.1 ConnectionFactory, such as ActiveMQ's PooledConnectionFactory).Resource holder wrapping a JMSConnection
and a JMSSession
.PlatformTransactionManager
implementation for a single JMSConnectionFactory
.Subinterface ofSession
to be implemented by Session proxies.A JMS ConnectionFactory adapter that returns the same Connection from allSingleConnectionFactory.createConnection()
calls, and ignores calls toConnection.close()
.Extension of thejakarta.jms.ConnectionFactory
interface, indicating how to release Connections obtained from it.Exception thrown when a synchronized local transaction failed to complete (after the main transaction has already completed).Proxy for a target JMSConnectionFactory
, adding awareness of Spring-managed transactions.An adapter for a target JMSConnectionFactory
, applying the given user credentials to every standard methods that can also be used with authentication, thiscreateConnection()
andcreateContext()
.