Skip to content

Commit 4991a21

Browse files
author
Alexandru Scvortov
committed
typo and a bit of rephrasing in userguide
1 parent 79bb165 commit 4991a21

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/wikipages/data.MessagingPatterns.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ transactions are active is underspecified in both versions 0-8 and 0-9
120120
of the AMQP specification, and different server implementations behave
121121
in different ways.
122122

123-
Finally, the fact that a message was flagged "mandatory", and
123+
Additionally, the fact that a message was flagged "mandatory", and
124124
successfully enqueued on one or more queues, is no guarantee of its
125125
eventual receipt: most trivially, the queue could be deleted before
126126
the message is processed, but other situations, like the use of the
127127
[code noAck] flag by a message consumer, can also make the guarantees
128128
provided by "mandatory" and "immediate" conditional.
129129

130-
Alternatively, one could use Publisher Confirms. Setting an channel
130+
Alternatively, one could use Publisher Confirms. Setting a channel
131131
into [i confirm mode] by calling [code IModel.ConfirmSelect] causes
132132
the broker to send a [code Basic.Ack] after each message is processed
133133
by delivering to a ready consumer or by persisting to disk.
@@ -516,7 +516,7 @@ Publisher Confirms
516516

517517
- ensure (ahead of time) that the target queue is durable,
518518

519-
- select Confirm mode using [code IModel.ConfirmSelect],
519+
- select [code Confirm] mode using [code IModel.ConfirmSelect],
520520

521521
- publish the message with "mandatory" flag set and [code
522522
DeliveryMode] set equal to 2,
@@ -538,6 +538,10 @@ both [code Basic.Return'ed] and [code Basic.Ack'ed]. So, if the
538538
"mandatory" or "immediate" are used, the client must also listen for
539539
returns by setting the [code IModel.BasicReturn] handler.
540540

541+
Also note that the [code Tx] and [code Confirm] modes are mutually
542+
exclusive on any one channel, so it is not possible to mix the two
543+
methods described above.
544+
541545
Responsibility can also be placed with an external database, even
542546
further along the chain - see the section on interaction with external
543547
resources below.

0 commit comments

Comments
 (0)