On 10/22/2013 08:42 PM, Kerry Bonin wrote:
I was wondering if there are any client feedback mechanisms other than QMF yet,
If a queue is configured with 'flow limits' (which it is by default if there is a max count or size specified and it isn't a ring queue), then when it hits the preconfigured threshold, it will stop acknowledging messages.
If the clients have a fixed in-doubt window (i.e a fixed sender capacity in qpid::messaging), then this will eventually cause them to block on send, waiting for confirmation of previous sends from the broker.
If the sender capacity is not too large and the threshold at which flow control is applied is sufficiently below the hard limit, this should prevent overflow.
Not sure whether that is useful to you. You can get the number of in doubt messages for a sender through Sender::getUnsettled(). The client will request information from the broker on which messages are confirmed at about 25% of capacity. So the application could perhaps slow down earlier if desired and make a full block less likely.
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
