RabbitMQ recommends not sharing channels between threads.
3. Don’t share channels between threads.
Don’t share channels between threads, as most clients don’t make channels thread-safe for performance reasons.
And libuv inside Node.js either makes requests to the kernel or handles tasks in its own thread pool.
Now, Assumes one connection, one channel.
Multiple clients are requesting to publish messages at the same time. I expect multiple threads in libuv's thread pool to publish messages using a single channel.
I'm confused if this is thread safe.
Can someone please answer what am I misunderstanding.