Introduction
The Queue message is used to manage and work with queues.
Here is a short description of what every command is supposed to do:
- Access:
- This activity can only be done in a sessioned workflow and starts entering the QUEUE MODE.
- It accesses a specific queue and returns the first PNR on it.
- Bounce:
- This activity can only be done in a sessioned workflow and you have to be in QUEUE MODE.
- With this message you can randomly navigate through the accessed queue by jumping a certain number of PNRs forward / backward and it returns the content of this PNR.
- Count:
- Count the number of elements on the given queue or on ALL queues.
- Do NOT use when you are in QUEUE MODE !
- List:
- List the elements on the given queue in short format.
- Do NOT use when you are in QUEUE MODE !
- Move:
- Move a certain number of PNRs from one queue to another, starting at the beginning of this queue.
- Do NOT use when you are in QUEUE MODE !
- Place:
- Place a PNR on a specified queue. This can be done with record locator and / or with the current PNR (sessioned only), depending on the GDS.
- Do NOT use when you are in QUEUE MODE !
- Remove:
- Removes a specified or all PNRs from a specified queue. In some GDS, only the current PNR can be removed (sessioned only).
- Do NOT use when you are in QUEUE MODE !
- Clean:
- Remove all PNRs that have past dates or no itineraries from the queue specified. In some GDS all PNRs of the queue can be deleted.
- On some GDS (e.g. Worldspan) this action can also be used to remove PNR duplicates from queues.
- Do NOT use when you are in QUEUE MODE !
- EndTransact:
- For use in QUEUE MODE only.
- EndTransact this PNR and display next or current PNR on queue, which depends on the @TransactionType attribute.
- Exit:
- This activity can only be done in a sessioned workflow.
- Exit the queue and ends QUEUE MODE.
- The XX1 session must be release after this transaction.