subscription = subscriptions.subscribe(*this, queue,
  SubscriptionSettings(FlowControl::messageWindow(100),
  ACCEPT_MODE_NONE));
Unfortunately that setting just seemed to cause my consumer to hang after getting the first 100 messages.

subscription = subscriptions.subscribe(*this, queue, SubscriptionSettings(FlowControl::messageWindow(100)));

seemed to work OK without growing memory. I've no idea why adding ACCEPT_MODE_NONE should cause it to misbehave, it should have simply removed the need to acknowledge should it not...

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to