156 Developing Web Services Using CICS, WMQ, and WMB
We deployed this message flow, together with the
CICSWSAPMQMsgSet—termed a dictionary in the broker archive (BAR) file.
Assuming required queues are defined, channels running and subscriptions
made, our pub/sub environment is now ready.
7.5 Testing the Publication Notification Message Flow
To test our pub/sub configuration, even without the presence of any actual
subscribers, we simply place a message on the
CICSWSAP.PUBLICATION.QUEUE, providing it is in the correct format. We
could then check the subscriber queue (for example,
CICSWSAP.ADDRESS.CHANGE) for the presence of the message. If the
message is not the expected format, a trace entry is placed in the local error log
indicating the error ...