Interface IRouter
Represents a class that provides information for building message filter table entries according to some message routing rules.
Namespace: Nevatech.Vsb.Repository.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public interface IRouter : IValidator
Methods
ExportConfiguration()
Exports the router's private configuration.
Declaration
string ExportConfiguration()
Returns
Type | Description |
---|---|
String | String that defines the private configuration. |
GetRoutes(IEnumerable<EndpointDefinition>)
Returns collection of routes that can be used to populate MessageFilterTable<TFilterData> of the routing service.
Declaration
IEnumerable<Route> GetRoutes(IEnumerable<EndpointDefinition> endpoints)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<EndpointDefinition> | endpoints | All available endpoints in the outbound endpoint group that this router instance is bound to. |
Returns
Type | Description |
---|---|
IEnumerable<Route> | Collection of routes that can be used to populate MessageFilterTable<TFilterData> of the routing service. |
ImportConfiguration(String)
Imports the router's private configuration.
Declaration
void ImportConfiguration(string configuration)
Parameters
Type | Name | Description |
---|---|---|
String | configuration | String that defines the private configuration. |