RFC5730 states that poll req return single queued message from the queue per request.
we could expand this by allowing multiple messages to be returned. this way, potentially a lot less request are required to read a lot of messages from the queue.
There should be a query parameter to limit te number of returned results and the server should also use a max limit for itself.
RFC5730 states that poll req return single queued message from the queue per request.
we could expand this by allowing multiple messages to be returned. this way, potentially a lot less request are required to read a lot of messages from the queue.
There should be a query parameter to limit te number of returned results and the server should also use a max limit for itself.