-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
The current Outbox implementation requires both an SqlConnection as well as an SqlTransaction as shown on https://github.com/rebus-org/Rebus/wiki/Outbox :
using var connection = GetSqlConnection();
using var transaction = connection.BeginTransaction();
using var scope = new RebusTransactionScope();
// and then enable the outbox for that scope
scope.UseOutbox(connection, transaction);
Unfortunately I work with a framework that uses TransactionScope - and I have found no way to get the SqlTransaction out of that.
Is there any way to get SqlTransaction out of SqlConnection (I haven't found one)?
Would it be possible to expand the Outbox implementation to work with TransactionScope in addition to SqlTransaction?
Metadata
Metadata
Assignees
Labels
No labels