I have a requirement like
- File comes from FTP
- File is copied to local directory
- File is picked up
- server 1 to parse and read
- service 2 to enrich XYZ
- service 3 to enrich CDY
- service 4 to persist the data in the database and get the set the ids generated (as required later)
- service 5 to enrich another piece of information based on service 4
- service 6 will send a message to another system
- service 7 will update the data again
- service 8 will then do something etc
- move file back to done directory
At thie point I am thinking about have one flow that will deal with FTP side and get the file and download it.
flow # 02 will pick the file and do the processing as explained above
My question is should I be using the transformers for all these steps above. Also is it ok if I have one flow with all the transformers or should I break it down in sub-flows?.
If any transformer throws an exception will it just ignore the rest of transformers and go to error channel?
Also if I put an exception handling channel will I actually know at which step the exception was thrown?