moleculerjs / moleculer-channels

Reliable messages for Moleculer services via external queue/channel/topic.
MIT License
75 stars 15 forks source link

ability to set exchange type for AMQP adapter #35

Closed miladazhdehnialcads closed 2 years ago

miladazhdehnialcads commented 2 years ago

Hi, thanks for this nice library. Is there a reason that the type of exchange can not be changed as an option?

https://github.com/moleculerjs/moleculer-channels/blob/024c251a69c1a850721ca0aac556c880bbfc6960/src/adapters/amqp.js#L289

icebob commented 2 years ago

Because the fanout can cover the logic that is implemented in this library.