Table of Contents

Interface IScheduleConfigurator<TInstance, TMessage>

Namespace
MassTransit
Assembly
MassTransit.Abstractions.dll
public interface IScheduleConfigurator<TInstance, TMessage> where TInstance : class, SagaStateMachineInstance where TMessage : class

Type Parameters

TInstance
TMessage

Properties

Delay

Set a fixed message delay, which is applied to all scheduled messages unless overriden by the .Schedule method.

TimeSpan Delay { set; }

Property Value

TimeSpan

DelayProvider

Set a dynamic message delay provider, which uses the instance to determine the delay unless overriden by the .Schedule method.

ScheduleDelayProvider<TInstance> DelayProvider { set; }

Property Value

ScheduleDelayProvider<TInstance>

Received

Configure the behavior of the Received event, the same was Events are configured on the state machine.

Action<IEventCorrelationConfigurator<TInstance, TMessage>> Received { set; }

Property Value

Action<IEventCorrelationConfigurator<TInstance, TMessage>>