Creating a Custom Scheduled Delivery Service
A scheduled delivery service must act on a batch of delivery tasks. Your scheduled delivery service must retrieve each delivery task and act on it individually. It is the responsibility of the scheduled delivery service to retrieve each delivery task, deliver the document associated with the delivery task, and update the status of the delivery task
To perform these functions, your scheduled delivery service might have to take other actions as well. For example, your scheduled delivery service might need to open a connection to a remote machine before it delivers documents and close the connection after it has delivered all the documents. Trading Networks provides a single scheduled delivery service, the wm.tn.transport:batchFtp service, which you can use as a reference implementation to write your own scheduled delivery schedule. (The wm.tn.transport:batchFtp service opens a connection, delivers all the documents, and then closes the connection.)