wso2-dev/andes — pull request #169 by Asitha (2014-11-25 11:50:50+00:00)
Title: Non acknowledged message counter moved to OnFlightMessageTracker

Non acknowledged message tracking was previously done in AMQChannel. This tracking was

internally used by Andes for message delivery. This leads to non acknowledged message tracking
logic to be tightly coupled with Qpid implementation.

Fixed this by moving the non acknowledged message tracking logic to OnFlightMessageTracker.

Decrementing non acknowledge message count is moved into acknowledgement handling logic to avoid decrementing count before disruptor handling the acknowledgement event.