mikehadlow/EasyNetQ — pull request #95 by fhalim (2013-08-02 03:26:12+00:00)
Title: Allow ITopologyVisitor to be injected into IAdvancedBus and IAdvancedPublishChannel lowest level methods.

This implements a partial workaround for issue #29. Refactored out the methods in IAdvancedBus and IAdvancedPublishChannel that apply the topology visitor to Queues and Exchanges to have an overload that accepts an ITopologyVisitor. In my consumer code where I want to suppress queue and exchange creation, I call these overloads with a visitor that does nothing with the queues and exchanges it visits.

I need to be able to not create the topology for the subscriber on publish in order to avoid RabbitMQ errors when the queue/exchange already exists with a different parameter than what I specify in EasyNetQ.