Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MessageQueueTransactionManager Class

IPlatformTransactionManager implementation for MSMQ. Binds a MessageQueueTransaction to the thread.

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

System.Object
   AbstractPlatformTransactionManager
      MessageQueueTransactionManager

[Visual Basic]
Public Class MessageQueueTransactionManager
    Inherits AbstractPlatformTransactionManager
[C#]
public class MessageQueueTransactionManager : AbstractPlatformTransactionManager

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

This local strategy is an alternative to executing MSMQ operations within DTC transactions. Its advantage is that multiple MSMQ operations can easily participate within the same local MessagingTransaction transparently when using the MessageQueueTemplate class for send and recieve operations and not pay the overhead of a DTC transaction.

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

Requirements

Namespace: Spring.Messaging.Core

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

See Also

MessageQueueTransactionManager Members | Spring.Messaging.Core Namespace