Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Queuing Folder | Summary of Elements in this Folder | wm.tn.queuing:registerQueue
 
wm.tn.queuing:registerQueue
Adds a new delivery queue to the Trading Networks database and makes it available for use.
Input Parameters
queue
Object The scheduled delivery queue to add. It must be a DeliveryQueue object, an instance of com.wm.app.tn.delivery.DeliveryQueue. It cannot have the same name as an existing queue and it must contain a valid DeliverySchedule, an instance of com.wm.app.tn.delivery.DeliverySchedule.
Output Parameters
msgs
String List (optional) If this service encountered errors while adding the queue, msgs contains descriptions of the errors.
Usage Notes
If the queue is added in an enabled or draining state, this service creates a scheduled task in the Integration Server so documents added to the queues are delivered at the times defined by the delivery schedule. For more information about tasks in Integration Server, see webMethods Integration Server Administrator’s Guide.