C# Class NServiceBus.ImmediateDispatchOptionExtensions

Provides ways for the end user to request immediate dispatch of their messages.
Show file Open project: Particular/NServiceBus

Public Methods

Method Description
RequireImmediateDispatch ( this options ) : void

Requests the messsage to be dispatched to the transport immediately. This means that the message is ACKed by the transport as soon as the call to send returns. The message will not be enlisted in any current receive transaction even if the transport support it.

RequiredImmediateDispatch ( this options ) : bool

Returns whether immediate dispatch has been request by RequireImmediateDispatch or not.

Method Details

RequireImmediateDispatch() public static method

Requests the messsage to be dispatched to the transport immediately. This means that the message is ACKed by the transport as soon as the call to send returns. The message will not be enlisted in any current receive transaction even if the transport support it.
public static RequireImmediateDispatch ( this options ) : void
options this The options being extended.
return void

RequiredImmediateDispatch() public static method

Returns whether immediate dispatch has been request by RequireImmediateDispatch or not.
public static RequiredImmediateDispatch ( this options ) : bool
options this The options being extended.
return bool