The delivery mode for RPC-Client messages is hardcoded set to 2.
If there are no technical reasons, it would be advantageous to make this configurable.
Our use case is to send up to a few 1000 msg/sec. A RPC call should be handled immediately, so a message never remains more then a few millisec in the queue. To persist it, is a massive overhead for such a short lifetime and if the server restarts there is no use for old entries in the rpc queue because the tmp queue for delivering the result is also not persistant.
HumusAmqp/src/JsonRpc/JsonRpcClient.php
Line 140 in 7feace6
The delivery mode for RPC-Client messages is hardcoded set to 2.
If there are no technical reasons, it would be advantageous to make this configurable.
Our use case is to send up to a few 1000 msg/sec. A RPC call should be handled immediately, so a message never remains more then a few millisec in the queue. To persist it, is a massive overhead for such a short lifetime and if the server restarts there is no use for old entries in the rpc queue because the tmp queue for delivering the result is also not persistant.