ConnectionFactoryUtils.IsSessionTransactional Method
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConnectionFactoryUtils.IsSessionTransactional Method

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

[Visual Basic]
Public Shared Sub IsSessionTransactional( _
   ByVal session As ISession, _
   ByVal cf As IConnectionFactory _
public static bool IsSessionTransactional(
   ISession session,
   IConnectionFactory cf


The session to check.
The ConnectionFactory that the Session originated from

Return Value

true if is session transactional, bound to current thread; otherwise, false.

See Also

ConnectionFactoryUtils Class | Spring.Messaging.Nms.Connections Namespace