Timeline for Wait for an ACK file
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 20, 2020 at 13:19 | vote | accept | AkerbeltZ | ||
Jan 16, 2020 at 15:09 | comment | added | Arx | Rough principles for this can be found here stackoverflow.com/a/54179810/1783921, should be able to find anything else regarding powershell scripting using your favourite search engine.. | |
Jan 16, 2020 at 15:05 | comment | added | Arx | To go against the grain a little bit, I would have done this by having a receive location to consume the ok.ctrl file and a receive location tied to the orchestration for processing the xml, both disabled. I would have used powershell to run a script every x minutes to listen for the ok.ctrl file, if found, turn on the location for processing the XML files, followed by the location to consume the ok.ctrl file, then turn both off after a few seconds - A fairly simple solution. | |
Jan 13, 2020 at 1:01 | answer | added | Ralph | timeline score: 0 | |
Jan 8, 2020 at 22:52 | comment | added | Dijkgraaf | The helper class wouldn't need a dynamic receive location, it would just pick up files directly. Otherwise you will still have to same issue. Mikael's solution of just inserting the files into a database, and having a Receive Location that polls until the ACK file is received is probably easier, and doesn't require any custom code, just a database with a table. | |
Jan 8, 2020 at 20:16 | comment | added | AkerbeltZ | Hi @Dijkgraaf, thanks for your help. No, there are no elements in common, mostly because the OK.CTRL file is empty. But I'll take a look to the helper class, in order to create a dynamic receive location. | |
Jan 8, 2020 at 16:56 | answer | added | Mikael Kristensen | timeline score: 3 | |
Jan 7, 2020 at 21:27 | comment | added | Dijkgraaf | Is there an element in both the original XML files and the ACK file that contains a value unique to each batch? Otherwise what you are trying is not easily achieved. What you will probably have to do is just have the Orchestration listen for the ACK file. And then have a loop in the Orchestration call a helper class that looks for the XML files in the folder, and pick them up and process them one by one. | |
Jan 7, 2020 at 21:16 | history | edited | Dijkgraaf | CC BY-SA 4.0 |
Removed thanks. Added biztalk-orchestrations tag. Formatting
|
Jan 7, 2020 at 20:33 | history | asked | AkerbeltZ | CC BY-SA 4.0 |