Table of Contents

Class RoutingKeyExtensions

Namespace
MassTransit
Assembly
MassTransit.Abstractions.dll
public static class RoutingKeyExtensions
Inheritance
RoutingKeyExtensions
Inherited Members

Methods

RoutingKey(ConsumeContext)

public static string? RoutingKey(this ConsumeContext context)

Parameters

context ConsumeContext

Returns

string

RoutingKey(SendContext)

public static string? RoutingKey(this SendContext context)

Parameters

context SendContext

Returns

string

SetRoutingKey(SendContext, string?)

Sets the routing key for this message

public static void SetRoutingKey(this SendContext context, string? routingKey)

Parameters

context SendContext
routingKey string

The routing key for this message

TrySetRoutingKey(SendContext, string?)

Sets the routing key for this message

public static bool TrySetRoutingKey(this SendContext context, string? routingKey)

Parameters

context SendContext
routingKey string

The routing key for this message

Returns

bool