Interface SessionProxy
- All Superinterfaces:
AutoCloseable
,Runnable
,Session
Subinterface of
Session
to be implemented by
Session proxies. Allows access to the underlying target Session.- Since:
- 2.0.4
- Author:
- Juergen Hoeller
- See Also:
-
Field Summary
Fields inherited from interface jakarta.jms.Session
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED
-
Method Summary
Modifier and TypeMethodDescriptionReturn the target Session of this proxy.Methods inherited from interface jakarta.jms.Session
close, commit, createBrowser, createBrowser, createBytesMessage, createConsumer, createConsumer, createConsumer, createDurableConsumer, createDurableConsumer, createDurableSubscriber, createDurableSubscriber, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createProducer, createQueue, createSharedConsumer, createSharedConsumer, createSharedDurableConsumer, createSharedDurableConsumer, createStreamMessage, createTemporaryQueue, createTemporaryTopic, createTextMessage, createTextMessage, createTopic, getAcknowledgeMode, getMessageListener, getTransacted, recover, rollback, run, setMessageListener, unsubscribe
-
Method Details
-
getTargetSession
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:
- the underlying Session (never
null
)
-