Class OutboxStagingCollection
Collection for staging messages to be sent via the outbox pattern. Messages added here will be persisted to the database and sent transactionally.
public class OutboxStagingCollection
- Inheritance
-
OutboxStagingCollection
- Inherited Members
Properties
- Count
Gets the number of messages currently staged.
Methods
- Add(object, MessageProperties?)
Stages a message to be sent when SaveChanges is called.
- Add<TMessage>(TMessage, MessageProperties?)
Stages a message to be sent when SaveChanges is called. The message will be persisted to the outbox table and sent by the background processor.