Dear experts
currently I am developing an adapter module for FTP adapter.
Assume there are followings files available in the source directory
file_a.txt
file_b.txt
file_c.txt
per default files are processed by ascending alphabetical order, starting with file_a.txt
In some situations I want to stop the processing of the actual file e.g. file_a.txt and go ahead by processing the next file e.g. file_b.txt available in the source folder.
The postponed file_a.txt file should be processed during the next polling interval.
I do not want to raise a exception which leads to an alert etc. just postpone the processing of this file, which is fine and does not represent an error state.
I found following thread mentioning that there is RecoverableException (causes overall status: WAIT, Message will be repeated) which seems to be the exception to throw to implement the wanted processing.
Exception thrown by module - overall message status still successful
Unfortunately I couldn't figure out which jar contains the class RecoverableException. It is not included in the standards classes for adapter modules mentioned XI libraries for development - Process Integration - SCN Wiki
Does anybody have used RecoverableException so far?
Any feedback whether it is feasible to get wanted process or alternative approaches is welcome.
Thanks
Jochen