[rabbitmq-discuss] AMQP connection close in WCF

Emile Joubert emile at rabbitmq.com
Thu Apr 12 13:05:51 BST 2012

Hi Паховский,

On 12/04/12 11:11, Паховский Дмитрий wrote:
> But the method didn`t invoke when TestRabbitServiceClient.Dispose() was
> invoked!
> Could you explain this behavior of RabbitMQ.ServiceModel? How can I
> force closing the connection?

See StopClient() and  StopService() in
RabbitMQ.ServiceModel.Test.TwoWayTest.TwoWayTest for an example of how
to close connections. In your example you should close the connection in
the Dispose() callback of your ServiceClient.


More information about the rabbitmq-discuss mailing list