Class SendConsumeContextExtensions
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
public static class SendConsumeContextExtensions
- Inheritance
-
SendConsumeContextExtensions
- Inherited Members
Methods
Send(ConsumeContext, Uri, object)
Send a message
public static Task Send(this ConsumeContext context, Uri destinationAddress, object message)
Parameters
context
ConsumeContextdestinationAddress
Urimessage
objectThe message
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Send(ConsumeContext, Uri, object, IPipe<SendContext>)
Send a message
public static Task Send(this ConsumeContext context, Uri destinationAddress, object message, IPipe<SendContext> pipe)
Parameters
context
ConsumeContextdestinationAddress
Urimessage
objectThe message
pipe
IPipe<SendContext>
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Send(ConsumeContext, Uri, object, Type)
Send a message
public static Task Send(this ConsumeContext context, Uri destinationAddress, object message, Type messageType)
Parameters
context
ConsumeContextdestinationAddress
Urimessage
objectThe message
messageType
Type
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Send(ConsumeContext, Uri, object, Type, IPipe<SendContext>)
Send a message
public static Task Send(this ConsumeContext context, Uri destinationAddress, object message, Type messageType, IPipe<SendContext> pipe)
Parameters
context
ConsumeContextdestinationAddress
Urimessage
objectThe message
messageType
Typepipe
IPipe<SendContext>
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Send<T>(ConsumeContext, Uri, object)
Send a message
public static Task Send<T>(this ConsumeContext context, Uri destinationAddress, object values) where T : class
Parameters
context
ConsumeContextdestinationAddress
Urivalues
object
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Type Parameters
T
The message type
Send<T>(ConsumeContext, Uri, object, IPipe<SendContext<T>>)
Send a message
public static Task Send<T>(this ConsumeContext context, Uri destinationAddress, object values, IPipe<SendContext<T>> pipe) where T : class
Parameters
context
ConsumeContextdestinationAddress
Urivalues
objectpipe
IPipe<SendContext<T>>
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Type Parameters
T
The message type
Send<T>(ConsumeContext, Uri, object, IPipe<SendContext>)
Send a message
public static Task Send<T>(this ConsumeContext context, Uri destinationAddress, object values, IPipe<SendContext> pipe) where T : class
Parameters
context
ConsumeContextdestinationAddress
Urivalues
objectpipe
IPipe<SendContext>
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Type Parameters
T
The message type
Send<T>(ConsumeContext, Uri, T)
Send a message
public static Task Send<T>(this ConsumeContext context, Uri destinationAddress, T message) where T : class
Parameters
context
ConsumeContextdestinationAddress
Urimessage
TThe message
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Type Parameters
T
The message type
Send<T>(ConsumeContext, Uri, T, IPipe<SendContext<T>>)
Send a message
public static Task Send<T>(this ConsumeContext context, Uri destinationAddress, T message, IPipe<SendContext<T>> pipe) where T : class
Parameters
context
ConsumeContextdestinationAddress
Urimessage
TThe message
pipe
IPipe<SendContext<T>>
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Type Parameters
T
The message type
Send<T>(ConsumeContext, Uri, T, IPipe<SendContext>)
Send a message
public static Task Send<T>(this ConsumeContext context, Uri destinationAddress, T message, IPipe<SendContext> pipe) where T : class
Parameters
context
ConsumeContextdestinationAddress
Urimessage
TThe message
pipe
IPipe<SendContext>
Returns
- Task
The task which is completed once the Send is acknowledged by the broker
Type Parameters
T
The message type