pardahlman / RawRabbit

A modern .NET framework for communication over RabbitMq
MIT License
747 stars 144 forks source link

Channel Management #119

Closed pardahlman closed 7 years ago

pardahlman commented 8 years ago

Should a new approach for Channel Management be considered. Today, the IChannelFactory provides an open and ready-to-use channel that is is reused.

Perhaps we should add something like Channel Pool and a middleware that guards the usage of the channels so that a custom middleware could use context.GetChannel() to get the designated channel for that execution of the pipe.