Question

Need help to understanding on how Pega know file is completely copied before file listener start

Hello,
I read the comments/article in PDN, File listener will pick the file once the file is completely available. Partially copied file won’t get process by file listener. I would like to understand how pega know the file is completely available for process?

***Edited by Moderator Marissa to update platform capability tags****

Comments

Keep up to date on this post and subscribe to comments

August 22, 2019 - 7:07pm

Looking at Pega 8 code, I think we use PushbackReader API to confirm that the stream is completed written before processing.

https://docs.oracle.com/javase/8/docs/api/java/io/PushbackReader.html