Show / Hide Table of Contents

    Interface MessageDispatchChannel

    Defines an interface for a Message Channel used to dispatch incoming Messages to a Session or MessageConsumer. The implementation controls how the messages are dequeued from the channel, one option is for a FIFO ordering while another might be to sort the Message's based on the set Message Priority.

    Namespace: Apache.NMS.ActiveMQ.Util
    Assembly: Apache.NMS.ActiveMQ.dll
    Syntax
    public interface MessageDispatchChannel

    Properties

    | Improve this Doc View Source

    Closed

    Declaration
    bool Closed { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Count

    Declaration
    long Count { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    Empty

    Declaration
    bool Empty { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Running

    Declaration
    bool Running { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    SyncRoot

    Declaration
    object SyncRoot { get; }
    Property Value
    Type Description
    System.Object

    Methods

    | Improve this Doc View Source

    Clear()

    Declaration
    void Clear()
    | Improve this Doc View Source

    Close()

    Declaration
    void Close()
    | Improve this Doc View Source

    Dequeue(TimeSpan)

    Declaration
    MessageDispatch Dequeue(TimeSpan timeout)
    Parameters
    Type Name Description
    System.TimeSpan timeout
    Returns
    Type Description
    MessageDispatch
    | Improve this Doc View Source

    DequeueNoWait()

    Declaration
    MessageDispatch DequeueNoWait()
    Returns
    Type Description
    MessageDispatch
    | Improve this Doc View Source

    Enqueue(MessageDispatch)

    Declaration
    void Enqueue(MessageDispatch dispatch)
    Parameters
    Type Name Description
    MessageDispatch dispatch
    | Improve this Doc View Source

    EnqueueFirst(MessageDispatch)

    Declaration
    void EnqueueFirst(MessageDispatch dispatch)
    Parameters
    Type Name Description
    MessageDispatch dispatch
    | Improve this Doc View Source

    Peek()

    Declaration
    MessageDispatch Peek()
    Returns
    Type Description
    MessageDispatch
    | Improve this Doc View Source

    RemoveAll()

    Declaration
    MessageDispatch[] RemoveAll()
    Returns
    Type Description
    MessageDispatch[]
    | Improve this Doc View Source

    Signal()

    Declaration
    void Signal()
    | Improve this Doc View Source

    Start()

    Declaration
    void Start()
    | Improve this Doc View Source

    Stop()

    Declaration
    void Stop()
    • Improve this Doc
    • View Source
    Back to top Copyright � 2005-2019 Apache Software Foundation project
    Generated by DocFX