Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsUtils.RollbackIfNecessary Method

Rollback the Session if not within a distributed transaction.

[Visual Basic]
Public Shared Sub RollbackIfNecessary( _
   ByVal session As ISession _
)
[C#]
public static void RollbackIfNecessary(
   ISession session
);

Parameters

session
the NMS Session to rollback

Remarks

Needs investigation - no distributed tx in EMS

See Also

NmsUtils Class | Spring.Messaging.Nms.Support Namespace