img
Figure 20-6. Spring Batch with Spring Integration
In Figure 20-6, at the top three channels are defined for storing message, namely, files, requests,
and statuses.
First, the inbound channel adapter from Spring Integration's file support is used for file polling.
When a file arrives, a file message will be created and stored in the files channel.
Second, the transformer will pick up the message from the files channel, perform the
transformation (in this case, the file message will be transformed into a job launch request message),
and output the transformed message into the requests channel. The service activator picks up the job
launch request message from the requests channel and launches the job accordingly. The result of the
job execution will be output into the statuses channel.
Adding Required Dependencies
Table 20-5 shows the required dependencies for Spring Integration and Spring Batch's support of
Spring Integration.
Search WWH :
Custom Search
Previous Page
Spring Framework 3 Topic Index
Next Page
Spring Framework 3 Bookmarks
Home