I am sending a file of data to service bus queue and while retrieving data I am getting active message count by
queue.MessageCountDetails.ActiveMessageCount;
if this count is zero, send mail to a user that data has been uploaded.
When SendReport() method hits then queueclient
got message and it hits to again Client.OnMessage((receivedMessage) =>
. User should get one report for each file.
But in my case report has been created for multiple times.
how can I send one report per file?