Skip to Content
0
Dec 09, 2008 at 09:13 AM

File adapter archive on error?

233 Views

Hello,

I have a flat file scenario: flat -> XI -> flat.

I have configured the sender channel for archiving messages after processing and it work fine.

But what i want to do is :

if the message is processed succesfully i want to archive the send file in the directory "c:/sucess" and if the message is processed on error (for example due to a mapping error) i want to archive the send file in the directory "c:/error". For the moment i don't see if it's possible, all the file successfull and on error are archived in the same directory.... Is it possible to use 2 directories for archiving ? One for success, second for error ?

Thanks in advance.