Class OutboxProduceStrategy
The messages are stored in the transactional outbox table. The operation can therefore be 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.
Inheritance
OutboxProduceStrategy
Assembly: Silverback.Integration.dll
Syntax
public sealed class OutboxProduceStrategy : IProduceStrategy, IEquatable<IProduceStrategy>, IEquatable<OutboxProduceStrategy>
Constructors
OutboxProduceStrategy(OutboxSettings)
Declaration
public OutboxProduceStrategy(OutboxSettings settings)
Parameters
Properties
Settings
Gets the outbox settings.
Declaration
public OutboxSettings Settings { get; }
Property Value
Methods
Build(ISilverbackContext, ProducerEndpointConfiguration)
Returns the actual strategy implementation, built using the provided IServiceProvider.
Declaration
public IProduceStrategyImplementation Build(ISilverbackContext context, ProducerEndpointConfiguration endpointConfiguration)
Parameters
Returns
Equals(IProduceStrategy?)
The messages are stored in the transactional outbox table. The operation can therefore be 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.
Declaration
public bool Equals(IProduceStrategy? other)
Parameters
Returns
Equals(OutboxProduceStrategy?)
The messages are stored in the transactional outbox table. The operation can therefore be 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.
Declaration
public bool Equals(OutboxProduceStrategy? other)
Parameters
Returns
Equals(object?)
The messages are stored in the transactional outbox table. The operation can therefore be 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.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
The messages are stored in the transactional outbox table. The operation can therefore be 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.
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
operator ==(OutboxProduceStrategy?, OutboxProduceStrategy?)
The messages are stored in the transactional outbox table. The operation can therefore be 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.
Declaration
public static bool operator ==(OutboxProduceStrategy? left, OutboxProduceStrategy? right)
Parameters
Returns
operator !=(OutboxProduceStrategy?, OutboxProduceStrategy?)
The messages are stored in the transactional outbox table. The operation can therefore be 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.
Declaration
public static bool operator !=(OutboxProduceStrategy? left, OutboxProduceStrategy? right)
Parameters
Returns
Implements