spring-framework / org.springframework.jms.connection / ConnectionFactoryUtils / isSessionTransactional

isSessionTransactional

open static fun isSessionTransactional(@Nullable session: Session, @Nullable cf: ConnectionFactory): Boolean

Determine whether the given JMS Session is transactional, that is, bound to the current thread by Spring's transaction facilities.

Parameters

session - the JMS Session to check

cf - the JMS ConnectionFactory that the Session originated from

Return
whether the Session is transactional