wso2 / andes

Apache License 2.0
39 stars 129 forks source link

Recover ack duplication #876

Closed sdkottegoda closed 7 years ago

sdkottegoda commented 7 years ago

Fixes the issues reported at:

  1. https://wso2.org/jira/browse/MB-1919
  2. https://wso2.org/jira/browse/MB-1920

Includes the following changes:

  1. Added channel flow suspend/resume to broker This is sent from andes slient prior to and after recovery respectively. Message will not be buffered to the susbscription that is associated with the channel id throughout the time that the channel is suspended.

  2. A message which has to delivery statuses as RECOVERED and ACKED from 2 different channel will get deleted upon the ack.