Results 1 to 2 of 2

Thread: Create dinamic steps (on the fly)

  1. #1
    Join Date
    Jan 2010
    Posts
    2

    Default 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. #2
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    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
  •