Promote Project
The Promote project contains three adapter configurations: PromoteReader.adfilesmodel, PromoteWriter.adfilesmodel and PromoteWriter2.adfilesmodel. The sample project shows how the adapter handles promotion and demotion of records.
In PromoteReader.adfilesmodel, Publication Service reads and parses the promote.txt file and publishes the objects. The read schema of Publication Service has three records: Orders, Customer, and Item.
In PromoteWriter.adfilesmodel, Subscription Service receives the objects, formats, and writes them to the outpromote.txt file. The write schema of Subscription Service has three corresponding file records: Orders, Item and Customer.
In PromoteWriter2.adfilesmodel, Subscription Service receives the objects, formats, and writes them to the outpromote2.txt file. The write schema of Subscription Service is modified so that the Item write file record is at the same level as the Orders writer file record. The Orders record has an additional field, which is the Item record.