MassTransit/MassTransit — pull request #263 by sitago (2014-11-18 17:07:16+00:00)
Title: Race Condition in OutboundRabbitMqTransport

OutboundRabbitMqTransport.AddProducerBinding() was not synchronized at all, so if one thread sets the variable _producer, the next thread will read it assuming it is completely initialized. But the code line _connectionHandler.AddBinding(_producer) is probably not yet executed.