wso2-dev/andes — pull request #221 by abeykoon (2014-12-15 10:48:09+00:00)
Title: Prevent delivery to close and back topic subs

Idea is as following.

1. Create two topic subscriptions.
2. publish 10,000 msgs.
3. while messages are being received, close one subscription.
4. place the closed subscription again. Now as it is a new subscription, that should not get any messages.

This is implemented comparing timestamps of subscription and the message arrival.