Hi,
I've successfully (and very easily I might add) set up an application to poll a directory for new files, process those file by calling a service and move them to a 'Processed' directory. I'm now attempting to deal with errors. What I need to do if the service throws an exception is i) move the file to an 'Problem' directory and ii) generate a log file in the same 'Problem' directory recording the exception.
The reference manual on exceptions states that after an exception is throw the message payload becomes the actual exception. So, my first, and most important, question is how do I configure SI to move a problem file to a specific output directory? My second requirement of logging the exception can probably be dealt with using a logging framework but if there's something built in I could use that would be great.
thanks,
Jonny


Reply With Quote
. I was thinking when I read your first post in my reader that maybe the <file:file-mover .../> is missing from the framework, if you agree you can create an issue for that. Going over the file support again, especially the namespace, might be a good idea for 2.0 anyway.

