public RabbitMqConnectionManager(Uri uri, string connectionName, TimeSpan connectionTimeout, TimeSpan requestedHeart)
 {
     _publishChannelManager  = new RabbitMqChannelManager(uri, connectionName, connectionTimeout, ChannelType.Publish, requestedHeart);
     _consumerChannelManager = new RabbitMqChannelManager(uri, connectionName, connectionTimeout, ChannelType.Consumer, requestedHeart);
 }
Exemplo n.º 2
0
 public ChannelContainer(IRabbitMqChannelManager channelManager, IModel channel)
 {
     _channelManager = channelManager;
     Channel         = channel;
 }