Interface ISagaConfigurator<TSaga>
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
public interface ISagaConfigurator<TSaga> : IPipeConfigurator<SagaConsumeContext<TSaga>>, ISagaConfigurationObserverConnector, IConsumeConfigurator, IOptionsSet where TSaga : class, ISaga
Type Parameters
TSaga
- Inherited Members
- Extension Methods
Properties
ConcurrentMessageLimit
int? ConcurrentMessageLimit { set; }
Property Value
- int?
Methods
Message<T>(Action<ISagaMessageConfigurator<T>>)
Add middleware to the message pipeline, which is invoked prior to the saga repository.
void Message<T>(Action<ISagaMessageConfigurator<T>> configure) where T : class
Parameters
configure
Action<ISagaMessageConfigurator<T>>The callback to configure the message pipeline
Type Parameters
T
The message type
SagaMessage<T>(Action<ISagaMessageConfigurator<TSaga, T>>)
Add middleware to the saga pipeline, for the specified message type, which is invoked after the saga repository.
void SagaMessage<T>(Action<ISagaMessageConfigurator<TSaga, T>> configure) where T : class
Parameters
configure
Action<ISagaMessageConfigurator<TSaga, T>>The callback to configure the message pipeline
Type Parameters
T
The message type