6 Replies Latest reply on Sep 3, 2008 12:41 PM by kukeltje

    Splitting Tasks Dynamically then Merging ... can it be done?

    kasim


      So i have a fairly complex yet simple problem.

      Been looking at spring batch, but since we already use jBPM here I'd like to see if I can accomplish the task with it instead.

      Basically. I have a bunch of files coming in that need processed.

      I want the files to be ran by multiple nodes ...
      .. when they are ALL finished they need to go and perform a second task.

      However that task cannot be started till all the work has been done.


      I initially thought of doing thte work by tossing a bunch of items on a message queue ... have an MDB listen and process the work.

      However ... that does not help me know when ALL nodes of that given batch are complete. There are other hockey ways of figuring that out but i'd rather not do it.

      Soooo .... any idea of what I'd have to use in jBPM to do this?