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 |
---|---|
System.String | String that defines the private configuration. |
GetRoutes(IEnumerable<EndpointDefinition>)
Returns collection of routes that can be used to populate System.ServiceModel.Dispatcher.MessageFilterTable`1 of the routing service.
Declaration
IEnumerable<Route> GetRoutes(IEnumerable<EndpointDefinition> endpoints)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<EndpointDefinition> | endpoints | All available endpoints in the outbound endpoint group that this router instance is bound to. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Route> | Collection of routes that can be used to populate System.ServiceModel.Dispatcher.MessageFilterTable`1 of the routing service. |
ImportConfiguration(String)
Imports the router's private configuration.
Declaration
void ImportConfiguration(string configuration)
Parameters
Type | Name | Description |
---|---|---|
System.String | configuration | String that defines the private configuration. |