AbstractMessageListenerContainer.IsSessionLocallyTransacted Method
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractMessageListenerContainer.IsSessionLocallyTransacted Method

Determines whether the given Session is locally transacted, that is, whether its transaction is managed by this listener container's Session handling and not by an external transaction coordinator.

[Visual Basic]
Protected Overridable Sub IsSessionLocallyTransacted( _
   ByVal session As ISession _
protected virtual bool IsSessionLocallyTransacted(
   ISession session


The session to check.

Return Value

true if the is session locally transacted; otherwise, false.


The Session's own transacted flag will already have been checked before. This method is about finding out whether the Session's transaction is local or externally coordinated.

See Also

AbstractMessageListenerContainer Class | Spring.Messaging.Ems.Listener Namespace