Class SendConsumeContextExecuteExtensions
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
public static class SendConsumeContextExecuteExtensions
- Inheritance
-
SendConsumeContextExecuteExtensions
- Inherited Members
Methods
Send(ConsumeContext, Uri, object, Action<SendContext>)
Send a message
public static Task Send(this ConsumeContext context, Uri destinationAddress, object message, Action<SendContext> callback)
Parameters
contextConsumeContextdestinationAddressUrimessageobjectThe message
callbackAction<SendContext>The callback for the send context
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Send(ConsumeContext, Uri, object, Func<SendContext, Task>)
Send a message
public static Task Send(this ConsumeContext context, Uri destinationAddress, object message, Func<SendContext, Task> callback)
Parameters
contextConsumeContextdestinationAddressUrimessageobjectThe message
callbackFunc<SendContext, Task>The callback for the send context
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Send(ConsumeContext, Uri, object, Type, Action<SendContext>)
Send a message
public static Task Send(this ConsumeContext context, Uri destinationAddress, object message, Type messageType, Action<SendContext> callback)
Parameters
contextConsumeContextdestinationAddressUrimessageobjectThe message
messageTypeTypecallbackAction<SendContext>The callback for the send context
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Send(ConsumeContext, Uri, object, Type, Func<SendContext, Task>)
Send a message
public static Task Send(this ConsumeContext context, Uri destinationAddress, object message, Type messageType, Func<SendContext, Task> callback)
Parameters
contextConsumeContextdestinationAddressUrimessageobjectThe message
messageTypeTypecallbackFunc<SendContext, Task>The callback for the send context
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Send<T>(ConsumeContext, Uri, object, Action<SendContext<T>>)
Send a message
public static Task Send<T>(this ConsumeContext context, Uri destinationAddress, object values, Action<SendContext<T>> callback) where T : class
Parameters
contextConsumeContextdestinationAddressUrivaluesobjectcallbackAction<SendContext<T>>The callback for the send context
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Type Parameters
TThe message type
Send<T>(ConsumeContext, Uri, object, Func<SendContext<T>, Task>)
Send a message
public static Task Send<T>(this ConsumeContext context, Uri destinationAddress, object values, Func<SendContext<T>, Task> callback) where T : class
Parameters
contextConsumeContextdestinationAddressUrivaluesobjectcallbackFunc<SendContext<T>, Task>The callback for the send context
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Type Parameters
TThe message type
Send<T>(ConsumeContext, Uri, T, Action<SendContext<T>>)
Send a message
public static Task Send<T>(this ConsumeContext context, Uri destinationAddress, T message, Action<SendContext<T>> callback) where T : class
Parameters
contextConsumeContextdestinationAddressUrimessageTThe message
callbackAction<SendContext<T>>The callback for the send context
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Type Parameters
TThe message type
Send<T>(ConsumeContext, Uri, T, Func<SendContext<T>, Task>)
Send a message
public static Task Send<T>(this ConsumeContext context, Uri destinationAddress, T message, Func<SendContext<T>, Task> callback) where T : class
Parameters
contextConsumeContextdestinationAddressUrimessageTThe message
callbackFunc<SendContext<T>, Task>The callback for the send context
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Type Parameters
TThe message type