2015-04-14 07:41:42 |
Attila Fazekas |
description |
bit mandatory
---------------
This flag tells the server how to react if the message cannot be routed to a queue. If this flag is set, the server will return an unroutable message with a Return method. If this flag is zero, the server silently drops the message.
The server SHOULD implement the mandatory flag.
bit immediate
----------------
This flag tells the server how to react if the message cannot be routed to a queue consumer immediately. If this flag is set, the server will return an undeliverable message with a Return method. If this flag is zero, the server will queue the message, but with no guarantee that it will ever be consumed.
===============================================================
https://www.rabbitmq.com/amqp-0-9-1-reference.html#constant.not-found
Does not makes sense to wait for an rpc response, if the massage was dropped by broker or nobody reads it.
The rpc requests SHOULD be sent with 'mandatory' or 'immediate'.
The rpc response messages SHOULD be sent with 'immediate'.
It is probably just a small nit and does not makes a big difference in practice. |
bit mandatory
---------------
This flag tells the server how to react if the message cannot be routed to a queue. If this flag is set, the server will return an unroutable message with a Return method. If this flag is zero, the server silently drops the message.
The server SHOULD implement the mandatory flag.
bit immediate
----------------
This flag tells the server how to react if the message cannot be routed to a queue consumer immediately. If this flag is set, the server will return an undeliverable message with a Return method. If this flag is zero, the server will queue the message, but with no guarantee that it will ever be consumed.
===============================================================
https://www.rabbitmq.com/amqp-0-9-1-reference.html#basic.publish
Does not makes sense to wait for an rpc response, if the massage was dropped by broker or nobody reads it.
The rpc requests SHOULD be sent with 'mandatory' or 'immediate'.
The rpc response messages SHOULD be sent with 'immediate'.
It is probably just a small nit and does not makes a big difference in practice. |
|