Show / Hide Table of Contents

    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
    IConnectionFactory.CreateConnection()
    IConnectionFactory.CreateConnection(String, String)
    IConnectionFactory.CreateContext()
    IConnectionFactory.CreateContext(AcknowledgementMode)
    IConnectionFactory.CreateContext(String, String)
    IConnectionFactory.CreateContext(String, String, AcknowledgementMode)
    IConnectionFactory.BrokerUri
    IConnectionFactory.RedeliveryPolicy
    IConnectionFactory.ConsumerTransformer
    IConnectionFactory.ProducerTransformer
    Namespace: Apache.NMS
    Assembly: Apache.NMS.dll
    Syntax
    public interface INetTxConnectionFactory : IConnectionFactory

    Methods

    | Improve this Doc View Source

    CreateNetTxConnection()

    Creates a new connection

    Declaration
    INetTxConnection CreateNetTxConnection()
    Returns
    Type Description
    INetTxConnection
    | Improve this Doc View Source

    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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2005-2019 Apache Software Foundation project
    Generated by DocFX