-
Jan 14th, 2010, 04:05 AM
#1
Create dinamic steps (on the fly)
Hi all,
In my use case, I want to dinamically create a set of steps which is supposed to sequentially execute the same pre-defined flow (same itemReader, itemProcessor and itemWriter).
The total of steps is defined dinamically based on the entries in the database. Does Spring batch framework provide any out-of-box way to achieve this?
Thanks & Regards,
Clelio De Souza
-
Jan 15th, 2010, 01:40 AM
#2
I have seen this done. You can use the existing Job and Step implementations (and factory beans) to create work at runtime. If you have a more concrete use case, and it is generic, maybe we could consider some new features in a future release.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules