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;
}