Skip to content
Discussion options

You must be logged in to vote

Nothing has changed around how channels are managed in 3.9, in fact, nothing has changed in over five years.

This error means that you try to open a channel with the same number (ID) after it's been already open. This is not an issue
in either RabbitMQ or the Java client (and Langhor does not manage channels in any way).

You must be sharing a resource (such as a connection)( across threads, intentionally or not.

We highly recommend against opening a channel for every message published as it absolutely ruins publishing throughput, does not help one bit with race conditions (or I cannot think of where it would be) and creates a high connection churn scenario.

Opening channels all the time a…

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by michaelklishin
Comment options

You must be logged in to vote
7 replies
@mjayprateek
Comment options

@mkuratczyk
Comment options

@lukebakken
Comment options

@lukebakken
Comment options

@michaelklishin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #4423 on April 02, 2022 12:53.