IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

TN Reprocessing failed delivery tasks in batch

  • 1.  TN Reprocessing failed delivery tasks in batch

    Posted Fri September 01, 2006 06:00 PM

    Currently, we have a schedule service to restart all the failed delivery tasks in TN. Basically, I want to only have 1 service thread for restarting all the failed tasks. Because if I loop through the failed tasks and call wm.tn.task:restartTask, it will execute all these failed tasks simultaneously. I only want to execute 1 at a time.

    Is this possible and have anyone done this before…??

    Thanks,
    YLO


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 2.  RE: TN Reprocessing failed delivery tasks in batch

    Posted Sat September 02, 2006 01:53 PM

    Just an idea:

    -get task id’s that failed
    -loop over task id’s
    —call wm.tn.task:restartTask
    —sleep a few seconds
    -endloop


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods