-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only one channel per connection #78
Comments
In my synchronous rabbit library I create a map of names to channels for a single connection. |
We need channel pool object. |
The problem with having a simple pool of channels is that tags are scoped to the channel, so you need to know the channel when acknowledging or confirming. |
Can you provide code sample which demonstrate a usage of named channels? |
Only for a synchronous client library that is completely different from the vertx lib - that lib has its own Channel class and Connection::getChannel(String name) returns an open channel. |
Hello from 2021 :) |
Hello.
In my usage I haven't had enough channels to justify the upheaval. |
I want to use separate channel for each consumer. |
As I can see from source code RabbitMQ client creates one channel on connection.
While common scenario is to create one channel for consumer.
Here is quote from RabbitMQ docs:
The text was updated successfully, but these errors were encountered: