Overview
Use the queuing services (services in the wm.tn.queuing folder) to maintain delivery queues and their delivery schedules. This folder also contains services that Trading Networks uses to deliver documents from a queue.
Several of the queuing services require the queue name as an input parameter. For a public queue, you specify the name given to the queue when it was defined. If you want to specify a private queue, the name of a private queue is the internal ID of the partner to which you are sending documents. The following lists ways you can obtain the receiver's internal ID based on the data that is in the pipeline:
If the receiver's profile is in the pipeline, the internal ID is the
partnerID variable that is within the
Corporate variable of the receiver's profile. For the structure of the profile, see
wm.tn.rec:Profile. For the structure of the
Corporate variable, see
wm.tn.rec:Corporation.
If the document being delivered is in the pipeline, the receiver's internal ID is the ReceiverID variable that is within the
bizdoc variable. For the structure of
bizdoc see
wm.tn.rec:BizDocEnvelope.
If one of the receiver's external IDs, such as a D-U-N-S number, is in the pipeline, you can invoke the
wm.tn.profile:getInternalID to get the receiver's internal ID.