Distribt icon indicating copy to clipboard operation
Distribt copied to clipboard

RabbitMQ: Disposing Iconnection Imodel earlier than we should

Open ElectNewt opened this issue 3 years ago • 0 comments

When consuming messages we work with Iconnection and IModel both of them are IDisposable but inRabbitMQMessageConsumer.consume they were being disposed before the message was processed, which caused that we couldnt update the message to processed.

The current solution its not ideal, it works as long as the app does not scale crazy, but it has to be fixed.

ElectNewt avatar Jan 13 '22 00:01 ElectNewt