Announcement Announcement Module
Collapse
No announcement yet.
Create dinamic steps (on the fly) Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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.

    Comment

    Working...
    X