Class OutboxProduceStrategy
The messages are stored in a the transactional outbox table. The operation is therefore included in the database transaction applying the message side effects to the local database. The IOutboxWorker takes care of asynchronously sending the messages to the message broker.
Implements
Inherited Members
Namespace: Silverback.Messaging.Outbound.TransactionalOutbox
Assembly: Silverback.Integration.dll
Syntax
public class OutboxProduceStrategy : IProduceStrategy
Methods
| Improve this doc View sourceBuild(IServiceProvider)
Returns the actual strategy implementation, built using the provided IServiceProvider.
Declaration
public IProduceStrategyImplementation Build(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | serviceProvider | The IServiceProvider to be used to build the strategy. |
Returns
Type | Description |
---|---|
IProduceStrategyImplementation | An instance of IProduceStrategyImplementation that can be used to produce the messages. |