Property OutboxMessages
OutboxMessages
Collection for staging messages to be sent via the outbox. Messages added here will be persisted and sent when SaveChanges is called.
OutboxStagingCollection OutboxMessages { get; }
Property Value
Remarks
This provides transactional message publishing - if the database transaction fails, the messages won't be sent. For non-transactional publishing, use PublishDirectAsync<TMessage>(TMessage, MessageProperties?, CancellationToken) instead.