Skip to content

Commit 8c3df2e

Browse files
author
Emile Joubert
committed
ApiOverview says publish can block
1 parent 43fc3dd commit 8c3df2e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

docs/wikipages/data.ApiOverview.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,10 +354,9 @@ callbacks are invoked in the connection's thread rather than in the
354354
application's thread.].
355355

356356
Only asynchronous AMQP operations are safe for use within callbacks,
357-
such as:
358-
359-
- [code IModel.BasicAck]
360-
- [code IModel.BasicPublish]
357+
such as [code IModel.BasicAck]. It is not safe to use [code
358+
IModel.BasicPublish] in callbacks, because channel flow could block
359+
publication.
361360

362361
For this reason, [code QueueingBasicConsumer] is the safest way of
363362
subscribing to a queue, because its implementation uses [code

docs/wikipages/meta.ApiOverview.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
owner:
2-
timestamp: Mon, 05 Jul 2010 13:15:32 GMT
2+
timestamp: Tue, 03 Aug 2010 09:35:12 GMT
33
author:
44
editgroup:
55
viewgroup:

0 commit comments

Comments
 (0)