Contour.Transport.RabbitMQ.Internal.RabbitBus.Configure C# (CSharp) Method

Configure() private method

private Configure ( ) : void
return void
        private void Configure()
        {
            if (this.IsConfigured)
            {
                return;
            }

            this.logger.InfoFormat(
                "Configuring [{0}] with endpoint [{1}].".FormatEx(
                    this.GetType()
                        .Name,
                    this.Endpoint));

            this.ListenerRegistry = new ListenerRegistry(this);
            this.ProducerRegistry = new ProducerRegistry(this);

            this.BuildReceivers();
            this.BuildSenders();

            this.IsConfigured = true;
        }