Skip to content

Commit 05fc4cc

Browse files
Java client: minor corrections
as discussed in rabbitmq/rabbitmq-java-client#732
1 parent 4582485 commit 05fc4cc

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

site/api-guide.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -603,16 +603,20 @@ can safely call blocking methods on the
603603
`Connection` or `Channel`, such as
604604
`Channel#queueDeclare` or `Channel#basicCancel`.
605605

606-
Each `Channel` has its own dispatch thread. For the
607-
most common use case of one `Consumer` per
606+
Each `Channel` will dispatch all deliveries to its `Consumer` handler methods on it
607+
in order they were sent by RabbitMQ.
608+
Ordering of deliveries between channels is not guaranteed: those
609+
deliveries can be dispatched in parallel.
610+
611+
For the most common use case of one `Consumer` per
608612
`Channel`, this means `Consumer`s do
609-
not hold up other `Consumer`s. If you have multiple
610-
`Consumer`s per `Channel` be aware that
613+
not hold up other `Consumer`s.
614+
With multiple `Consumer`s per `Channel` be aware that
611615
a long-running `Consumer` may hold up dispatch of
612616
callbacks to other `Consumer`s on that
613617
`Channel`.
614618

615-
Please refer to the Concurrency Considerations (Thread Safety)
619+
Please refer to the [Concurrency Considerations](#concurrency) (Thread Safety)
616620
section for other topics related to concurrency and
617621
concurrency hazard safety.
618622

0 commit comments

Comments
 (0)