On 06/08/18 18:25, Rob Godfrey wrote:
So, I'm not familiar with the C++ API, if there were an obvious way to switch from "credit" mode to "window" mode (which is the protocol default) then that would likely work around the problem.
Which API are you using? The recommended qpid::messaging API uses window mode except where capacity is set to 0 (in which case it uses credit mode and grants 1 message credit, within infinite byte credit on fetch).
If you are using the old qpid::client API, that allows the flow control to be specified in the SubscriptionSettings. (The default appears to be infinite credit, which suggests that is indeed the API you are using). To alter that just pass a different value as the first parameter to SubscriptionSettings, e.g. FlowControl::messageWindow(1000) or whatever.
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
