wso2-dev/andes — pull request #166 by hastef88 (2014-11-20 06:09:39+00:00)
Title: Queue purge further refactoring - adding context to logs, missing comments

1. Since we have re-named the queues in stores to "storage queues", purge methods should align with that convention. the actual destination ("queueName") is inferred from "storageQueueName" where necessary.

2. Added context information to logs. e.g. storageQueueName, purged timestamp

3. Since we can retrieve data from JDBC stores in a stream-like manner (lazy loading of iterator), we do not need to send multiple paginated queries to fetch all message IDs in a queue. This was therefore changed in JDBCMessageStoreImpl

4. Added comments for method parameters.

5. Removed unused methods :
MessageFlusher (a.k.a : QueueDeliveryWorker) : clearMessagesAccumilatedDueToInactiveSubscriptionsForQueue
MessagingEngine : moveMetaDataToQueue