msgId2MsgData map changed to ConcurrentHashMap and getMetaDataList chang...

...ed to get batch records 1000 wise