Closed xhafan closed 6 years ago
I'm wondering why Rebus.TransactionScopes 4.0.1 was not released to nuget?
When I search for Rebus.TransactionScopes on NuGet.org I get this:
Were you not able to find 4.0.1 on NuGet.org? 😎
Is it not stable or reliable enough?
I think it is stable enough 😉
Thanks, my bad, I was looking at https://www.nuget.org/packages/Rebus.TransactionScope instead of https://www.nuget.org/packages/Rebus.TransactionScopes ('s' at the end)
Yeah, that’s pretty confusing 🙃 sorry
Sendt fra min iPhone
– Mogens Heller Grabe Torsmark 4 8700 Horsens Danmark
+45 29367077 mookid8000@gmail.com
Den 8. maj 2018 kl. 00.39 skrev Martin Havlišta notifications@github.com:
Thanks, my bad, I was looking at https://www.nuget.org/packages/Rebus.TransactionScope instead of https://www.nuget.org/packages/Rebus.TransactionScope**s**
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.
When using Rebus 5 and latest nuget version Rebus.TransactionScopes 3.0.1, when calling transactionScope.EnlistRebus(), it gives me an exception "Could not load type 'Rebus.Transport.DefaultTransactionContextScope' from assembly 'Rebus, Version=5.0.0.0" (as version Rebus.TransactionScopes 3.0.1 references Rebus 3). When using Rebus.TransactionScopes 4.0.1 (https://github.com/rebus-org/Rebus.TransactionScopes/releases/tag/4.0.1, manually built), it works fine.
My scenario, which works fine with Rebus.TransactionScopes 4.0.1 and msmq transport, is following:
1) asp.net mvc controller method is called within a transaction scope (with rebus enlisted into the transaction scope - transactionScope.EnlistRebus()), controller method processes some business logic in a DB transaction (enlisted in the transaction scope), and sends a message to a service app (_bus.Send(message)). 2) when the business logic fails, the message is not sent correctly.
This scenario works fine with NServiceBus out of the box, and I was looking for an alternative free service bus library which supports this scenario. But, I had to manually build Rebus.TransactionScopes 4.0.1 instead downloading it from nuget.
I'm wondering why Rebus.TransactionScopes 4.0.1 was not released to nuget? Is it not stable or reliable enough?