开发者

Importing data using NService Bus

开发者 https://www.devze.com 2023-03-15 17:06 出处:网络
Using NService Bus. 2.00.19 (with MSMQ and SQL 2008) We want to import data into our system. The files could be quite la开发者_如何转开发rge so we have Background Processor that will read a message fr

Using NService Bus. 2.00.19 (with MSMQ and SQL 2008)

We want to import data into our system.

The files could be quite la开发者_如何转开发rge so we have Background Processor that will read a message from the Bus. This could take an hour to process.

Have other people done this? Is a Saga the best way forward?


If it's just a single message, then you might not need a saga. That being said, you may find it useful to have the endpoint reading off of the file send multiple messages each one containing one "row", and you might then find some use for a saga to track progress.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号