ExpiredMessagesCollectorJob updates AsynchronousMailMessage table.
It looks for me not a good idea. There is a convention that all changes to DB should be done by service.
Could you extract this code to method in AsynchronousMailPersistenceService class?
ExpiredMessagesCollectorJob updates AsynchronousMailMessage table. It looks for me not a good idea. There is a convention that all changes to DB should be done by service. Could you extract this code to method in AsynchronousMailPersistenceService class?