Use the query QueueStatus in combination with the Subscription element to request automatic status updates of the orders and jobs. Use the command StopPersistentChannel to stop the subscription to the status updates of a certain QueueStatus query.
The following parameters of the Query element are supported:
ID
The JDF client creates a unique ID for the query. This ID becomes the "refID" in the response message. This ID is required for the StopPersistentChannel command.
Type
This query is of type QueueStatus.
The following parameters of the QueueFilter element are supported:
MaxEntries (mandatory)
This attribute defines for how many orders and jobs the status must be returned. If the attribute MaxEntries is not specified, then PRISMAdirect adds it automatically to the query using value "-1".
Value = "-1": return the status of all orders and jobs
Value = "n": return the status for the first "n" orders and jobs
QueueEntryDetails="JobPhase" (mandatory)
PRISMAdirect only accepts the element JobPhase. Use the JobPhase element to request the states of the orders and jobs.
The Subscription element is optional. The following parameters of the Subscription element are supported:
URL
PRISMAdirect sends the automatic status updates to this URL.
RepeatTime (unit is seconds)
PRISMAdirect sends an automatic status update for all orders and jobs every n seconds. If no RepeatTime is specified, PRISMAdirect only sends a message when a state actually changes. It is recommended to not specify the RepeatTime attribute.