Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EmsTransactionManager Class

A AbstractPlatformTransactionManager implementation for a single EMS

ConnectionFactory
. Binds a Connection/Session pair from the specified ConnecctionFactory to the thread, potentially allowing for one thread-bound Session per ConnectionFactory.

For a list of all members of this type, see EmsTransactionManager Members .

System.Object
   AbstractPlatformTransactionManager
      EmsTransactionManager

[Visual Basic]
Public Class EmsTransactionManager
    Inherits AbstractPlatformTransactionManager
    Implements IResourceTransactionManager, IInitializingObject
[C#]
public class EmsTransactionManager : AbstractPlatformTransactionManager, IResourceTransactionManager, IInitializingObject

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Application code is required to retrieve the transactional Session via GetTransactionalSession. Spring's EmsTemplate will autodetect a thread-bound Session and automatically participate in it.

Transaction synchronization is turned off by default, as this manager might be used alongside an IDbProvider based Spring transaction manager such as the AdoPlatformTransactionManager, which has stronger needs for synchronization.

Requirements

Namespace: Spring.Messaging.Ems.Connections

Assembly: Spring.Messaging.Ems (in Spring.Messaging.Ems.dll)

See Also

EmsTransactionManager Members | Spring.Messaging.Ems.Connections Namespace