Hiyas,
I have two questions with regard to processing items:
1.) Is there a way to pass data from one step to the next without writing it to a repository of some sort - whether it be a file, db, or jms?
2.) Is it possible to start a step processing as soon as input is available for it - say if the output of one step is the input to the next?
The repeat templates appear as though this may enable such functionality but there seems to be a few caveats which make it ambigous:
1.) The fact that JDBC writers are not multi-threadable. (at least I think - i am not sure if (6.12. Preventing State Persistence) will work in my scenario.
2.) I am not running repeated operation per item... but rather want to repeat the operations for each item.
Essentially what I am trying to figure out is the best way to create a pipeline that allows me to make consecutive services calls for data. (i.e. step 1: collect it, step 2: validate it, step 3: modify it)
Are batch steps the right tool for the job or do I need to use integration techniques - i.e. Spring Integration?
Thanks.
Keith


Reply With Quote
