Table of Contents

Interface IInboundEnvelope<TMessage>

Namespace
Silverback.Messaging.Messages
Assembly
Silverback.Integration.dll

Wraps the message that is being consumed from an inbound endpoint.

public interface IInboundEnvelope<out TMessage> : IInboundEnvelope, IBrokerEnvelope, IRawInboundEnvelope, IRawBrokerEnvelope, IEnvelope<TMessage>, IEnvelope

Type Parameters

TMessage

The type of the message being consumed.

Inherited Members

Properties

IsTombstone

Gets a value indicating whether the message is a tombstone (i.e. it's just a marker to indicate that the message with the same key has been deleted). When it is false, the Message is not null.

[MemberNotNullWhen(false, "Message")]
bool IsTombstone { get; }

Property Value

bool

A value indicating whether the message is a tombstone.

Message

Gets the deserialized message body.

TMessage? Message { get; }

Property Value

TMessage