diff options
author | Levis Florian <levis.florian@gmail.com> | 2020-06-20 20:16:50 +0300 |
---|---|---|
committer | Andriy Gelman <andriy.gelman@gmail.com> | 2020-06-25 06:15:52 +0300 |
commit | bd6ae462f85a6254d38bb8a66452eedd360ce26f (patch) | |
tree | 8b94ace3152c839076062059aade2009e42db9e3 /doc | |
parent | 24d1781cbd72468146f5361687ab6925a5f791fe (diff) |
avformat/libamqp: add option delivery_mode
Reviewed-by: Andriy Gelman <andriy.gelman@gmail.com>
Signed-off-by: Levis Florian <levis.florian@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/protocols.texi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi index 7aa758541c..644a17963d 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -109,6 +109,21 @@ the received message may be truncated causing decoding errors. The timeout in seconds during the initial connection to the broker. The default value is rw_timeout, or 5 seconds if rw_timeout is not set. +@item delivery_mode @var{mode} +Sets the delivery mode of each message sent to broker. +The following values are accepted: +@table @samp +@item persistent +Delivery mode set to "persistent" (2). This is the default value. +Messages may be written to the broker's disk depending on its setup. + +@item non-persistent +Delivery mode set to "non-persistent" (1). +Messages will stay in broker's memory unless the broker is under memory +pressure. + +@end table + @end table @section async |