C# Класс NServiceBus.RoutingOptionExtensions

Gives users fine grained control over routing via extension methods.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetDestination ( this options ) : string

Returns the destination configured by SetDestination(ReplyOptions, string).

GetReplyToRoute ( this options ) : string

Returns the configured route by RouteReplyTo(NServiceBus.ReplyOptions,string).

GetRouteToSpecificInstance ( this options ) : string

Returns the instance configured by RouteToSpecificInstance where the message should be routed to.

IsRoutingReplyToAnyInstance ( this options ) : bool

Indicates whether RouteReplyToAnyInstance(NServiceBus.SendOptions) has been called on this options.

IsRoutingReplyToThisInstance ( this options ) : bool

Indicates whether RouteReplyToThisInstance(NServiceBus.SendOptions) has been called on this options.

IsRoutingToThisEndpoint ( this options ) : bool

Returns whether the message should be routed to this endpoint.

IsRoutingToThisInstance ( this options ) : bool

Returns whether the message should be routed to this endpoint instance.

RouteReplyTo ( this options, string address ) : void

Instructs the receiver to route the reply to specified address.

RouteReplyToAnyInstance ( this options ) : void

Instructs the receiver to route the reply for this message to any instance of this endpoint.

RouteReplyToThisInstance ( this options ) : void

Instructs the receiver to route the reply for this message to this instance.

RouteToSpecificInstance ( this options, string instanceId ) : void

Routes this message to a specific instance of a destination endpoint.

RouteToThisEndpoint ( this options ) : void

Routes this message to any instance of this endpoint.

RouteToThisInstance ( this options ) : void

Routes this message to this endpoint instance.

SetDestination ( this options, string destination ) : void

Allows a specific physical address to be used to route this message.

Описание методов

GetDestination() публичный статический Метод

Returns the destination configured by SetDestination(ReplyOptions, string).
public static GetDestination ( this options ) : string
options this Option being extended.
Результат string

GetReplyToRoute() публичный статический Метод

Returns the configured route by RouteReplyTo(NServiceBus.ReplyOptions,string).
public static GetReplyToRoute ( this options ) : string
options this Option being extended.
Результат string

GetRouteToSpecificInstance() публичный статический Метод

Returns the instance configured by RouteToSpecificInstance where the message should be routed to.
public static GetRouteToSpecificInstance ( this options ) : string
options this Option being extended.
Результат string

IsRoutingReplyToAnyInstance() публичный статический Метод

Indicates whether RouteReplyToAnyInstance(NServiceBus.SendOptions) has been called on this options.
public static IsRoutingReplyToAnyInstance ( this options ) : bool
options this Option being extended.
Результат bool

IsRoutingReplyToThisInstance() публичный статический Метод

Indicates whether RouteReplyToThisInstance(NServiceBus.SendOptions) has been called on this options.
public static IsRoutingReplyToThisInstance ( this options ) : bool
options this Option being extended.
Результат bool

IsRoutingToThisEndpoint() публичный статический Метод

Returns whether the message should be routed to this endpoint.
public static IsRoutingToThisEndpoint ( this options ) : bool
options this Option being extended.
Результат bool

IsRoutingToThisInstance() публичный статический Метод

Returns whether the message should be routed to this endpoint instance.
public static IsRoutingToThisInstance ( this options ) : bool
options this Option being extended.
Результат bool

RouteReplyTo() публичный статический Метод

Instructs the receiver to route the reply to specified address.
public static RouteReplyTo ( this options, string address ) : void
options this Option being extended.
address string Reply destination.
Результат void

RouteReplyToAnyInstance() публичный статический Метод

Instructs the receiver to route the reply for this message to any instance of this endpoint.
public static RouteReplyToAnyInstance ( this options ) : void
options this Option being extended.
Результат void

RouteReplyToThisInstance() публичный статический Метод

Instructs the receiver to route the reply for this message to this instance.
public static RouteReplyToThisInstance ( this options ) : void
options this Option being extended.
Результат void

RouteToSpecificInstance() публичный статический Метод

Routes this message to a specific instance of a destination endpoint.
public static RouteToSpecificInstance ( this options, string instanceId ) : void
options this Option being extended.
instanceId string ID of destination instance.
Результат void

RouteToThisEndpoint() публичный статический Метод

Routes this message to any instance of this endpoint.
public static RouteToThisEndpoint ( this options ) : void
options this Option being extended.
Результат void

RouteToThisInstance() публичный статический Метод

Routes this message to this endpoint instance.
public static RouteToThisInstance ( this options ) : void
options this Option being extended.
Результат void

SetDestination() публичный статический Метод

Allows a specific physical address to be used to route this message.
public static SetDestination ( this options, string destination ) : void
options this Option being extended.
destination string The destination address.
Результат void