uses database & service for message processing