我有一个邮件读写服务,它读到每个电子邮件的箱子,并把它输入数据库。 问题一是,我没有保证收到电子邮件时会把电子邮件同化(这是业务要求)。 我这样做的办法是采用某种查询制度。 这样,我就着手处理这些项目。 这也使我获益于将我对电子邮件的读写与在数据库中对它们的教化/插入。
So my question is is it overkill to use a service bus (such as NServiceBus) if I only plan on sending messages locally? Meaning that the service that would be reading emails and the service that parses/inserts emails in the database would reside on the same machine.
谢谢。