Overview
This windows service has one simple task, to periodicaly check message queue, pick up any new messages, and writes them to database. Database connection string and time interval on which the message queue is checked is defined in configuration file. For purpose of implementing this service, MQ Distributor Service can be used. Distributor Service is part of Enterprise Library Logging application block, and it’s primary purpose is logging of log messages transfered via Microsoft Message Queue. Source code of service is available, so similar set-up can be (re)used for the purpose of Atomia Performance Log messages storing.