[rabbitmq-discuss] C# client w/ASP.NET Channels not going away

Brian Locke brian.locke at datascan.com
Thu Nov 7 01:20:19 GMT 2013


I'm sure this is something that I've missed in all my googling and rabbitMq
doc reading. I have an .NET WebAPI that creates a new IModel from a static
Connection then publishes messages with Confirm.Select(). Before calling
publish I add the IModel to an objectCache so that the Ack/nack callbacks
will get executed. Inside the BasicAckEventHandler I remove the model from
the cache. (This all works)

The problem is that the connections never go away from the RabbitMQ server.
I cannot find anything that is holding onto a reference of the IModel
object.

What I am I doing wrong here?


Thanks!
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131106/530eb4a0/attachment.htm>


More information about the rabbitmq-discuss mailing list