Table of Contents

Class SendEndpointConverterCache

Namespace
MassTransit.Context
Assembly
MassTransit.Abstractions.dll

Caches the converters that allow a raw object to be published using the object's type through the generic Send method.

public class SendEndpointConverterCache
Inheritance
SendEndpointConverterCache
Inherited Members

Constructors

SendEndpointConverterCache()

public SendEndpointConverterCache()

Methods

Send(ISendEndpoint, object, Type, IPipe<SendContext>, CancellationToken)

public static Task Send(ISendEndpoint endpoint, object message, Type messageType, IPipe<SendContext> pipe, CancellationToken cancellationToken = default)

Parameters

endpoint ISendEndpoint
message object
messageType Type
pipe IPipe<SendContext>
cancellationToken CancellationToken

Returns

Task

Send(ISendEndpoint, object, Type, CancellationToken)

public static Task Send(ISendEndpoint endpoint, object message, Type messageType, CancellationToken cancellationToken = default)

Parameters

endpoint ISendEndpoint
message object
messageType Type
cancellationToken CancellationToken

Returns

Task