If I’m reading your comment right (no guarantees on that!) batch delivery doesn’t wake up all the tasks at a certain time. Meaning, if you have 10 tasks in the queue, it doesn’t wake up all 10 tasks to go simultaneously. It loops through each of the tasks in the queue and delivers the associated doc one at a time. Serial delivery. Is that what you need?
If you need a delay between each task/document even in a serialzied mode, then you’ll want to implement what Percio described for the custom batch delivery service. I’ve done this particular thing before, though I haven’t throttled the pacing (e.g. no sleep between docs–just get a task/doc, send it, get a task/doc, send it, etc.).
I ended up abandoning the use of TN public queues because of the persnickety nature of the task objects. If you didn’t manage the task status exactly right, there’d be problems. Even when you try/catch everything and set the status, there were cases where things went south that we couldn’t figure out (this was in 6.1 days–may be better now). So instead of public queues we ended up using User Status and doc queries to manage queuing and batch delivery.
Hope this info helps!
#webMethods#B2B-Integration#Integration-Server-and-ESB