Interface INetTxConnectionFactory
Some application servers provide support for use in a .NET transactions (optional).
To include NMS API transactions in a MSDTC transaction, an application server requires a .NET Transaction aware NMS provider that is capable of mapping the MSDTC transaction model into operations that are supported by the application server. An NMS provider exposes its .NET Transaction support using an INetTxConnectionFactory object, which an application server uses to create INetTxConnection objects.
The INetTxConnectionFactory interface is optional. NMS providers are not required to support this interface. This interface is for use by NMS providers to support transactional environments.
Inherited Members
Namespace: Apache.NMS
Assembly: Apache.NMS.dll
Syntax
public interface INetTxConnectionFactory : IConnectionFactory
Methods
| Improve this Doc View SourceCreateNetTxConnection()
Creates a new connection
Declaration
INetTxConnection CreateNetTxConnection()
Returns
Type | Description |
---|---|
INetTxConnection |
CreateNetTxConnection(String, String)
Creates a new connection with the given user name and password
Declaration
INetTxConnection CreateNetTxConnection(string userName, string password)
Parameters
Type | Name | Description |
---|---|---|
System.String | userName | |
System.String | password |
Returns
Type | Description |
---|---|
INetTxConnection |