[rabbitmq-discuss] C# client w/ASP.NET Channels not going away
watson.timothy at gmail.com
Thu Nov 7 09:52:16 GMT 2013
Do you explicitly close/dispose connections/channels when you're finished with them?
On 7 Nov 2013, at 01:20, Brian Locke <brian.locke at datascan.com> wrote:
> 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?
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
More information about the rabbitmq-discuss