We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79219a6 commit 0aebcb7Copy full SHA for 0aebcb7
src/com/rabbitmq/client/Channel.java
@@ -45,9 +45,12 @@
45
* </ul>
46
* <p>
47
*
48
- * While a Channel can be used by multiple threads, it's important to ensure
49
- * that only one thread executes a command at once. Concurrent execution of
50
- * commands will likely cause an UnexpectedFrameError to be thrown.
+ * <p>
+ * {@link Channel} instances are safe for use by multiple
+ * threads. Requests into a {@link Channel} are serialized, with only one
51
+ * thread running commands at a time.
52
+ * As such, applications may prefer using a {@link Channel} per thread
53
+ * instead of sharing the same <code>Channel</code> across multiple threads.
54
55
*/
56
0 commit comments