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 _
)
[C#]
public static bool IsSessionTransactional(
   ISession session,
   IConnectionFactory cf
);

Parameters

session
The session to check.
cf
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.Ems.Connections Namespace