Show / Hide Table of Contents

    Class Route

    Represents the description of an entry in the message filter table used by the routing service.

    Inheritance
    Object
    Route
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Services
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class Route

    Constructors

    Route()

    Instanciates an empty object.

    Declaration
    public Route()

    Route(MessageFilter, EndpointDefinition, Byte)

    Initializes new instance with provided message filter, endpoint, and filter priority.

    Declaration
    public Route(MessageFilter filter, EndpointDefinition endpoint, byte priority)
    Parameters
    Type Name Description
    MessageFilter filter

    Message filter or filter chain used to match incoming messages.

    EndpointDefinition endpoint

    Endpoint specifying message destination.

    Byte priority

    Message filter priority in the filter table.

    Route(MessageFilter, IEnumerable<EndpointDefinition>, Byte)

    Initializes new instance with provided message filter, collection of the endpoints, and filter priority.

    Declaration
    public Route(MessageFilter filter, IEnumerable<EndpointDefinition> endpoints, byte priority)
    Parameters
    Type Name Description
    MessageFilter filter

    Message filter or filter chain used to match incoming messages.

    IEnumerable<EndpointDefinition> endpoints

    Collection of the endpoints specifying alternative message destinations. Collection elements are copied to an internal list.

    Byte priority

    Message filter priority in the filter table.

    Fields

    DefaultPriority

    Default or normal filter priority.

    Declaration
    public const byte DefaultPriority = 200
    Field Value
    Type Description
    Byte

    Properties

    Endpoints

    Gets collection of the endpoints specifying message destinations.

    Declaration
    public IList<EndpointDefinition> Endpoints { get; }
    Property Value
    Type Description
    IList<EndpointDefinition>

    Filter

    Gets or sets the message filter or filter chain used to match incoming messages.

    Declaration
    public MessageFilter Filter { get; set; }
    Property Value
    Type Description
    MessageFilter

    Priority

    Gets or sets the message filter priority in the message filter table.

    Declaration
    public byte Priority { get; set; }
    Property Value
    Type Description
    Byte

    RouteOnHeadersOnly

    Gets or sets flag indicating that filter(s) do(es) NOT need access to message body in order to route the message. If False then access to message body is required and needs to be provided (slow). Default is true.

    Declaration
    public bool RouteOnHeadersOnly { get; set; }
    Property Value
    Type Description
    Boolean
    Back to top Nevatech Sentinet 6.5 Online Documentation