We are in the process of migrating a legacy system to nservicebus 5.0. What is generally the best way to migrate our business data to saga data? For example, if we had an OrderCancellationPolicy saga, that only allowed cancellation within 2 days, how would past orders from the legacy system create these new sagas in the correct state?
I see two options. The first being to write some sql script to prepopulate the saga persistence tables (we are using nhibernate persistence). The other being to create some kind of special import message, such as MigrateOrderDataCmd, that contains the data from the legacy order. An import script could send out these messages which the sagas could handle and set the saga data that way.
Any guidance in this area is appreciated.