Table of Contents

Interface Subscription

Namespace
MassTransit.Courier.Contracts
Assembly
MassTransit.Abstractions.dll

A routing slip subscription defines a specific endpoint where routing slip events should be sent (not published). If specified, events are not published.

public interface Subscription

Properties

ActivityName

If specified, events are only used in this subscription if the activity name matches

string? ActivityName { get; }

Property Value

string

Address

The address where events should be sent

Uri Address { get; }

Property Value

Uri

Events

The events that are subscribed

RoutingSlipEvents Events { get; }

Property Value

RoutingSlipEvents

Include

The event contents to include when published

RoutingSlipEventContents Include { get; }

Property Value

RoutingSlipEventContents

Message

The message sent as part of the subscription

MessageEnvelope? Message { get; }

Property Value

MessageEnvelope