Show / Hide Table of Contents

    Interface IConnectionFactory

    A Factory of IConnection objects

    Namespace: Apache.NMS
    Assembly: Apache.NMS.dll
    Syntax
    public interface IConnectionFactory

    Properties

    | Improve this Doc View Source

    BrokerUri

    Get/or set the broker Uri.

    Declaration
    Uri BrokerUri { get; set; }
    Property Value
    Type Description
    System.Uri
    | Improve this Doc View Source

    ConsumerTransformer

    A Delegate that is called each time a Message is dispatched to allow the client to do any necessary transformations on the received message before it is delivered. The ConnectionFactory sets the provided delegate instance on each Connection instance that is created from this factory, each connection in turn passes the delegate along to each Session it creates which then passes that along to the Consumers it creates.

    Declaration
    ConsumerTransformerDelegate ConsumerTransformer { get; set; }
    Property Value
    Type Description
    ConsumerTransformerDelegate
    | Improve this Doc View Source

    ProducerTransformer

    A delegate that is called each time a Message is sent from this Producer which allows the application to perform any needed transformations on the Message before it is sent. The ConnectionFactory sets the provided delegate instance on each Connection instance that is created from this factory, each connection in turn passes the delegate along to each Session it creates which then passes that along to the Producers it creates.

    Declaration
    ProducerTransformerDelegate ProducerTransformer { get; set; }
    Property Value
    Type Description
    ProducerTransformerDelegate
    | Improve this Doc View Source

    RedeliveryPolicy

    Get/or set the redelivery policy that new IConnection objects are assigned upon creation.

    Declaration
    IRedeliveryPolicy RedeliveryPolicy { get; set; }
    Property Value
    Type Description
    IRedeliveryPolicy

    Methods

    | Improve this Doc View Source

    CreateConnection()

    Creates a new connection

    Declaration
    IConnection CreateConnection()
    Returns
    Type Description
    IConnection
    | Improve this Doc View Source

    CreateConnection(String, String)

    Creates a new connection with the given user name and password

    Declaration
    IConnection CreateConnection(string userName, string password)
    Parameters
    Type Name Description
    System.String userName
    System.String password
    Returns
    Type Description
    IConnection
    | Improve this Doc View Source

    CreateContext()

    Creates a new context

    Declaration
    INMSContext CreateContext()
    Returns
    Type Description
    INMSContext
    | Improve this Doc View Source

    CreateContext(AcknowledgementMode)

    Creates a new context with the given acknowledgement mode.

    Declaration
    INMSContext CreateContext(AcknowledgementMode acknowledgementMode)
    Parameters
    Type Name Description
    AcknowledgementMode acknowledgementMode
    Returns
    Type Description
    INMSContext
    | Improve this Doc View Source

    CreateContext(String, String)

    Creates a new context with the given user name and password

    Declaration
    INMSContext CreateContext(string userName, string password)
    Parameters
    Type Name Description
    System.String userName
    System.String password
    Returns
    Type Description
    INMSContext
    | Improve this Doc View Source

    CreateContext(String, String, AcknowledgementMode)

    Creates a new context with the given user name, password and acknowledgement mode

    Declaration
    INMSContext CreateContext(string userName, string password, AcknowledgementMode acknowledgementMode)
    Parameters
    Type Name Description
    System.String userName
    System.String password
    AcknowledgementMode acknowledgementMode
    Returns
    Type Description
    INMSContext
    • Improve this Doc
    • View Source
    Back to top Copyright © 2005-2023 Apache Software Foundation project
    Generated by DocFX