Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsTransactionManager Constructor

Initializes a new instance of the NmsTransactionManager class.

[Visual Basic]
Public Overloads Sub New()
[C#]
NmsTransactionManager();

Remarks

The ConnectionFactory has to be set before using the instance. This constructor can be used to prepare a NmsTemplate via a ApplicationContext, typically setting the ConnectionFactory via ConnectionFactory property.

Turns off transaction synchronization by default, as this manager might be used alongside a dbprovider-based Spring transaction manager like AdoPlatformTransactionManager, which has stronger needs for synchronization. Only one manager is allowed to drive synchronization at any point of time.

See Also

NmsTransactionManager Class | Spring.Messaging.Nms.Connections Namespace | NmsTransactionManager Constructor Overload List