-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: System.ObjectDisposedException is thrown by DbOutboxWriter #128
Comments
I think |
Thank you for the bug report. I've been able to reproduce the issue and it is indeed a problem with the lifecycle of the |
Thank you very much for the quick response, your library is a life saver 🙏 After implementing it into my current systems, I'll make sure to write a blog post or more about it :) |
@mhmd-azeez I published v3.0.1 with a fix for this issue. Please give it a try and let me know if the problem is solved for real. 👍 |
@BEagle1984 I can confirm that the bug is now fixed. Thanks! |
First of all, thank you very much for this library. It fits my use cases nicely. However, I came across a bug when I tried to use
DbOutboxWriter
, I'd appreciate it if you can take a look at it. The first publish works fine, the subsequent publishes all throw aSystem.ObjectDisposedException
exception.This is how I have configured the services:
My DBContext:
This is how I am publishing messages:
This is my csproj file:
The first publish works fine, but the consequent publishes throw this exception:
Here is a small repro which should demonstrate the bug if you fill in the connection strings for Kafka and Postgres:
repro-128.zip
The text was updated successfully, but these errors were encountered: