Top Description Fields Methods
org.springframework.jms.connection

public Interface SessionProxy

extends Session
Imports
jakarta.jms.Session

Subinterface of jakarta.jms.Session to be implemented by Session proxies. Allows access to the underlying target Session.
Author
Juergen Hoeller
Since
2.0.4
See Also
TransactionAwareConnectionFactoryProxy, CachingConnectionFactory, ConnectionFactoryUtils#getTargetSession(jakarta.jms.Session)

Field Summary

Inherited from jakarta.jms.Session:
AUTO_ACKNOWLEDGECLIENT_ACKNOWLEDGEDUPS_OK_ACKNOWLEDGESESSION_TRANSACTED

Method Summary

Modifier and TypeMethod and Description
public Session

Returns:

the underlying Session (never null)
getTargetSession
()

Return the target Session of this proxy.

Inherited from jakarta.jms.Session:
closecommitcreateBrowsercreateBrowsercreateBytesMessagecreateConsumercreateConsumercreateConsumercreateDurableConsumercreateDurableConsumercreateDurableSubscribercreateDurableSubscribercreateMapMessagecreateMessagecreateObjectMessagecreateObjectMessagecreateProducercreateQueuecreateSharedConsumercreateSharedConsumercreateSharedDurableConsumercreateSharedDurableConsumercreateStreamMessagecreateTemporaryQueuecreateTemporaryTopiccreateTextMessagecreateTextMessagecreateTopicgetAcknowledgeModegetMessageListenergetTransactedrecoverrollbackrunsetMessageListenerunsubscribe

Method Detail

getTargetSessionback to summary
public Session getTargetSession()

Return the target Session of this proxy.

This will typically be the native provider Session or a wrapper from a session pool.

Returns:Session

the underlying Session (never null)