ftp - combine spring batch and spring integration? -
thanks attention,i defined combine spring batch , spring integration project , communicate ftp server retrieve file , process on , write on ftp, looking architecture project, designed architecture spring integration bellow diagram:
when retrieve file server process on , route files based on condition mvchannel , toget channel, have many process scenario on retrieved file server defined router router handle scenario , , route job channels , run spring batch
now, question right architecture?
really looks good. is typical pattern gain both spring integration , spring batch worlds integration them.
however don't see reason in last <aggregator>
. jobs can send result <int-ftp:outbound-gateway command="put">
. looks no need wait results analysis on them in single place.
Comments
Post a Comment