How Work Queue Delta Messages are Processed From the IAPJMS Process to the External Application
The IAPJMS process listens for Work Queue Delta messages from the WIS processes. When it receives a message from a WIS process it sends this to the appropriate JMS topic. By default, this is the topic defined in the WQDJMS_TOPICNAME process attribute; but this default can be overridden if the subscribing application specifies a different topic. The IAPJMS process does not need details about the contents of the message, it simply passes it to the JMS topic.
The external application must be set up and configured to listen for incoming messages from the JMS topic to which the IAPJMS process sends the messages.
The first time that a subscribing application opens a work queue, it uses iProcess Server Objects interfaces to open the queue and to retrieve all the existing work items for that queue.
Whenever a new change is made to the work queue, such as addition of a new work item, modification or removal of an existing work item, the change is published to the appropriate JMS topic. If more than one application is subscribed to a given work queue, and do not use the default topic specified by WQDJMS_TOPICNAME, the JMS message must be published to each topic used by a subscribing application.