biztalk - Transaction with FTP adapter -



biztalk - Transaction with FTP adapter -

i want pull server (no delete), parse file in pipeline component, process file, if goes successfully, want adapter delete file.

i thinking enlist parsing pipeline context, way, picturing if file cannot parsed, file not message box, hence deemed failed transaction, question, adapter participate in transaction? in other words, goal instruct adapter delete file server only when pipeline processed (transaction commited), file left untouched on server if pipeline failed (transaction rolled back, no message commited msg box)

is achievable? in advance

i think little experiment in order. biztalk, part of it's nature, not delete until has been peristed message box. beingness said, persitence might happen before pipeline execution. so, receive adapter receives file, perists message box , deletes file. message might subsequently fail in pipeline. if case, message bad format , have subsequently resubmitted sender. if want maintain message, you'll have pick failed message routing. can write directory , implement resubmit pattern. or, can pick file via failed message routing , set on ftp server (this sort of compensation step).

on otherhand, if pipeline fails , message isn't deleted fromt server... you're fine.

biztalk

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -