Hello
We have a receive location that receives a CSV file every day that contains rows of data that gets debatched and processed (Maps applied on receive port and send port) by BizTalk and passed on to down stream WCF systems. There are no orchestrations involved and this is purely done by a pipeline debatching and publishing the messages (after applying map) and a send port subscribing for these and sending off to down stream WCF service.
It works well but we have a new requirement to raise alert emails when the file is received with
1) No information - The file is totally blank
2) Only Column headers - No rows of information
I managed to solve the first issue by setting up a alert in our network monitoring tool WhatsUpGold by looking for a warning message written to eventlog by BizTalk when it receives a blank file in the receive location.
I am not sure how to achieve the second requirement. Any suggestions are most welcome.
Thank You.