nestjs-rmq
nestjs-rmq copied to clipboard
Non global module support
Hi, we would like the ability to instantiate and inject RMQ on a per module basis, which means we would like the ability to pass in a name | symbol to register the module as.
This would enable us to have different modules use different exchanges, and listen to messages on different queues
This is a good idea. I will consider implementing this feature and discuss it with my team. Thanks for sharing!
Hello, I'm just starting with your library and I thought this was possible already. So I went on and hooked a connection on a single module and indeed it seems I can send messages but I cannot receive them. Is this the expected behaviour when 'misusing' the library or am I doing something terribly wrong? Thanks
For now library supports only global module, so you need to use it in your root app.module