Using the options of the MQOPEN call

In the Options parameter of the MQOPEN call, you must choose one or more options to control the access that you are given to the object that you are opening. With these options you can:
  • Open a queue and specify that all messages put to that queue must be directed to the same instance of it
  • Open a queue to allow you to put messages on it
  • Open a queue to allow you to browse messages on it
  • Open a queue to allow you to remove messages from it
  • Open an object to allow you to inquire about and set its attributes (but you can set the attributes of queues only)
  • Open a topic or topic string to publish messages to it
  • Associate context information with a message
  • Nominate an alternative user identifier to be used for security checks
  • Control the call if the queue manager is in a quiescing state