Table of Contents

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 ConsumeContext
destinationAddress Uri
message object

The 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 ConsumeContext
destinationAddress Uri
message object

The 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 ConsumeContext
destinationAddress Uri
message object

The 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 ConsumeContext
destinationAddress Uri
message object

The message

messageType Type
pipe 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 ConsumeContext
destinationAddress Uri
values 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 ConsumeContext
destinationAddress Uri
values object
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, 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 ConsumeContext
destinationAddress Uri
values object
pipe 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 ConsumeContext
destinationAddress Uri
message T

The 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 ConsumeContext
destinationAddress Uri
message T

The 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 ConsumeContext
destinationAddress Uri
message T

The 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