Table of Contents

Class RouteDefinition

Namespace
Excalibur.Dispatch.Routing
Assembly
Excalibur.Dispatch.Abstractions.dll

Defines a route destination.

public sealed class RouteDefinition
Inheritance
RouteDefinition
Inherited Members
Extension Methods

Properties

Endpoint

Gets or sets the endpoint or destination.

public string Endpoint { get; set; }

Property Value

string

The endpoint or destination.

Metadata

Gets route-specific metadata.

public Dictionary<string, object> Metadata { get; }

Property Value

Dictionary<string, object>

Route-specific metadata.

Name

Gets or sets the route name.

public string Name { get; set; }

Property Value

string

The route name.

RouteId

Gets or sets the route identifier.

public string RouteId { get; set; }

Property Value

string

The route identifier.

Weight

Gets or sets the weight for load balancing (higher = more traffic).

public int Weight { get; set; }

Property Value

int

The weight for load balancing (higher = more traffic).