Writing MQSeries applications for VA Smalltalk Server
In VA Smalltalk Server, the implementation of MQSeries is the same regardless of whether the target environment is CICS Transaction Server, IMS, MVS, or CICS, for the workstation, or other native environments. That is, server programmers use the following classes, extended from VA Smalltalk, for message queueing:
•AbtMQCall
•AbtMQConnection
•AbtMQError
•AbtMQMessage
•AbtMQqm
•AbtMQqueue
•AbtMQSeriesConnectionSpec
The sample code below describes how to connect to a queue manager and put or get messages from the queue. There are other tasks you can perform with MQSeries, such as inquiring about a queue's specifications and committing and backing out (equivalent to a syncpoint).
Note that, even though this chapter focuses on writing Smalltalk code for MQSeries applications deployed on MVS, you can use MQSeries nonvisual parts in server applications deployed on MVS and on other server environments.
Last modified date: 01/29/2015