Class MessageDataDefaults
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
public static class MessageDataDefaults
- Inheritance
-
MessageDataDefaults
- Inherited Members
Properties
AlwaysWriteToRepository
Transitional, will always write to the repository but will include inline to avoid reading on current framework clients. If all services are upgraded, set to false so that data sizes below the threshold are not written to the repository.
public static bool AlwaysWriteToRepository { get; set; }
Property Value
ExtraTimeToLive
Set an extra time to live for message data, which is added to inferred expiration based upon SendContext TimeToLive.
public static TimeSpan? ExtraTimeToLive { get; set; }
Property Value
Threshold
Set the threshold for automatic message data to be written to the repository, vs stored inline.
public static int Threshold { get; set; }
Property Value
TimeToLive
Set the default time to live for message data when no expiration is specified
public static TimeSpan? TimeToLive { get; set; }