abreits / amqp-ts

AmqpSimple, a RabbitMQ tested Amqp library written in and for Typescript
MIT License
133 stars 37 forks source link

Channel for each queue and exchange #56

Open francardoso93 opened 4 years ago

francardoso93 commented 4 years ago

Hi! I've realized that each .declareExchange or .declareQueue opens a new channel. Can someone explain why was it designed like that instead of using a single channel?