Following is just requirement:
- Read from DB
- Create 3 files from data with only small setter addition on if statement
- Deliever 3 to same sftp
Coding:
1 Route Timer which to(direct)
1 Route trigger which call same (direct)
1 ROUTE - from(direct) then calls DB and fetches data and assign it to Bean and multicast to 3 transformation routes
3 routes - from(direct:transform) where similar transformation and ofr 3rd route a small different transformation and put to SFTP Route
1 Route to SFTP
This could be done in 3 routes only i.e timer route, trigger route and single route from 3 to last.
Just want to ask if Creating multiple route considered as costly operation where 50 project of similar types are deployed?