>From the Application Programming Guide:

   12.      The only application serving a queue issues an MQCLOSE call,
      for a TriggerType of MQTT_FIRST or MQTT_DEPTH, and there is at least:
            One (MQTT_FIRST)


            or
            TriggerDepth (MQTT_DEPTH)


      messages on the queue of sufficient priority (condition 2), and
      conditions 6 through 10 are also satisfied.


      This is to allow for a queue server that issues an MQGET call, finds
      the queue empty, and so ends; however, in the interval between the
      MQGET and the MQCLOSE calls, one or more messages arrive.


      Notes:
         1. If the program serving the application queue does not want to
            retrieve all the messages, this can cause a closed loop. Each
            time the program closes the queue, the queue manager creates
            another trigger message which causes the trigger monitor to
            start the server program again.
         2. If the program serving the application queue backs out its get
            request (or if the program abends) before it closes the queue,
            the same happens.
         3. To prevent such a loop occurring, you could use the
            BackoutCount field of MQMD to detect messages that are
            repeatedly backed out. For more information, see Messages that
            are backed out.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to