Extension methods for dependency registration of IMessageBus access a single instance of RabbitMqMessageBus via Lazy. If the factory method throws an exception the first time a thread tries to access the Value property of the Lazy object, the same exception is thrown on every subsequent attempt.
This behavior is inconsistent with EasyNetQ.IAdvancedBus which will attempt to recover from temporary connectivity problems.
Extension methods for dependency registration of IMessageBus access a single instance of RabbitMqMessageBus via Lazy. If the factory method throws an exception the first time a thread tries to access the Value property of the Lazy object, the same exception is thrown on every subsequent attempt.
This behavior is inconsistent with EasyNetQ.IAdvancedBus which will attempt to recover from temporary connectivity problems.