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:updateQueue
 
wm.tn.queuing:updateQueue
Updates an existing scheduled delivery queue in the Trading Networks database and modifies the queue's delivery schedule as appropriate.
Input Parameters
queue
Object The scheduled delivery queue to update. It must be a DeliveryQueue object, an instance of com.wm.app.tn.delivery.DeliveryQueue. The DeliveryQueue object must identify a queue that is registered with Trading Networks; that is, the name of the queue must match the name of a registered scheduled delivery queue. Additionally, the DeliveryQueue object 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 updating the queue, msgs contains descriptions of the errors.
Usage Notes
If the update to the queue changes the queue state (enabled, disabled, draining, or stopped), Trading Networks performs the following against the scheduled task in the Integration Server:
Original queue state
Updated queue state
The task in the Integration Server is…
disabled or stopped
enabled or draining
*Resumed if the task exists
*Created if not task exists
enabled or draining
disabled or stopped
*Suspended
disabled or stopped
disabled or stopped
*Unchanged
enabled or draining
enabled or draining
*Updated with new run dates and times as specified