Show / Hide Table of Contents

    Class SessionUtil

    Class to provide support for working with Session objects.

    Inheritance
    System.Object
    SessionUtil
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Apache.NMS.Util
    Assembly: Apache.NMS.dll
    Syntax
    public class SessionUtil

    Methods

    | Improve this Doc View Source

    DeleteDestination(ISession, String)

    Delete the named destination by parsing the embedded type prefix. Default is Queue if no prefix is embedded in the destinationName.

    Declaration
    public static void DeleteDestination(ISession session, string destinationName)
    Parameters
    Type Name Description
    ISession session

    Session object to use to get the destination.

    System.String destinationName

    Name of destination with embedded prefix. The embedded prefix can be one of the following:

    | Improve this Doc View Source

    DeleteDestination(ISession, String, DestinationType)

    Delete the named destination by parsing the embedded type prefix.

    Declaration
    public static void DeleteDestination(ISession session, string destinationName, DestinationType defaultType)
    Parameters
    Type Name Description
    ISession session

    Session object to use to get the destination.

    System.String destinationName

    Name of destination with embedded prefix. The embedded prefix can be one of the following:

    DestinationType defaultType

    Default type if no embedded prefix is specified.

    | Improve this Doc View Source

    DeleteQueue(ISession, String)

    Declaration
    public static void DeleteQueue(ISession session, string queueName)
    Parameters
    Type Name Description
    ISession session
    System.String queueName
    | Improve this Doc View Source

    DeleteTopic(ISession, String)

    Declaration
    public static void DeleteTopic(ISession session, string topicName)
    Parameters
    Type Name Description
    ISession session
    System.String topicName
    | Improve this Doc View Source

    GetDestination(ISession, String)

    Get the destination by parsing the embedded type prefix. Default is Queue if no prefix is embedded in the destinationName.

    Declaration
    public static IDestination GetDestination(ISession session, string destinationName)
    Parameters
    Type Name Description
    ISession session

    Session object to use to get the destination.

    System.String destinationName

    Name of destination with embedded prefix. The embedded prefix can be one of the following:

    Returns
    Type Description
    IDestination
    | Improve this Doc View Source

    GetDestination(ISession, String, DestinationType)

    Get the destination by parsing the embedded type prefix.

    Declaration
    public static IDestination GetDestination(ISession session, string destinationName, DestinationType defaultType)
    Parameters
    Type Name Description
    ISession session

    Session object to use to get the destination.

    System.String destinationName

    Name of destination with embedded prefix. The embedded prefix can be one of the following:

    DestinationType defaultType

    Default type if no embedded prefix is specified.

    Returns
    Type Description
    IDestination
    | Improve this Doc View Source

    GetQueue(ISession, String)

    Declaration
    public static IQueue GetQueue(ISession session, string queueName)
    Parameters
    Type Name Description
    ISession session
    System.String queueName
    Returns
    Type Description
    IQueue
    | Improve this Doc View Source

    GetTopic(ISession, String)

    Declaration
    public static ITopic GetTopic(ISession session, string topicName)
    Parameters
    Type Name Description
    ISession session
    System.String topicName
    Returns
    Type Description
    ITopic
    • Improve this Doc
    • View Source
    Back to top Copyright © 2005-2019 Apache Software Foundation project
    Generated by DocFX