C# 클래스 NServiceBus.RoutingOptionExtensions

Gives users fine grained control over routing via extension methods.
파일 보기 프로젝트 열기: Particular/NServiceBus

공개 메소드들

메소드 설명
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