Chapter Contents |
Previous |
Next |
SAS/CONNECT User's Guide |
Access to all distributed messaging services is obtained by opening a "collection" using the station class interface instance. After it is created and opened, the station interface instance can be used for indirect (queued) messaging to access a collection at the DOMAIN server. Unlike direct messaging, queries cannot be performed on stations for indirect messaging.
The Station class is used to open and close stations for both direct and indirect messaging. The instance methods defined to the Station class are:
For information about using the Station class, refer to Using Direct Messaging .
Collection Manager |
You may use the same queue name in different collections, and it will represent different queues. For example, you may have a queue named QUEUE_A in COLLECTION1 and in COLLECTION2. The name can be the same because they are in two different collections, but they represent two completely independent queues.
A collection is created using either the SCL Station class _open method or the CALL routine STATION_OPEN. Both interfaces return a station identifier that is used when opening a queue.
The collection provides a level of management for the queues by using a collection manager. The collection manager is responsible for starting the queue manager that processes the individual messages for each queue, and allows you to access the messages using the Queue class.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.