Step 6: Closing the queue and disconnecting
After performing any operation (such as putting or getting messages), you must close the queue. If you did not connect to the queue manager using AbtMQSeriesConnectionSpec, as in Sample Application 1, you must close the queue using the close method.
| result |
"Sample App 1: Closing the queue and verifying the call"
(result := aQueue close) isAbtError
ifTrue: [messageQueue ioAccessor
insertString: ('Close error: ', result codesAsString).
^nil].
 
Closure is unrelated to syncpoint, so you can close a queue before or after a syncpoint.
Last modified date: 01/29/2015