3.1.7.1.25 Check Directory Online

This event MUST be generated with the following argument:

  • None.

Return Value:

  • None.

The queue manager MUST perform the following actions to process this event:

  • Generate a Read Directory (section 3.1.7.1.20) event with the following arguments:

    • iDirectoryObjectType := "QueueManager"

    • iFilter := An array of the following attribute-filter expression:

      • "Identifier" EQUALS LocalQueueManager.Identifier

    • iAttributeList := NULL

    • iForceDirectoryRead := True

  • If the rStatus returned by the Read Directory event is set to DirectoryOperationResult.Success:

    • Update the ADM attributes of the LocalQueueManager ADM element instance with the ADM attributes of the returned QueueManager (section 3.1.1.1) ADM element instance.

    • Set LocalQueueManager.DirectoryOffline to False.

    • For each Queue (section 3.1.1.2) ADM element instance iQueue in LocalQueueManager.QueueCollection that has type PublicQueue, generate a Read Directory event with the following arguments:

      • iDirectoryObjectType := "Queue"

      • iFilter := An array of the following attribute-filter expression:

        • "Identifier" EQUALS the iQueue.Identifier

      • iAttributeList := NULL

      • If the rStatus returned by the Read Directory event is set to DirectoryOperationResult.Success:

        • Update the ADM attributes of the local iQueue ADM element instance with the ADM attributes of the returned Queue ADM element instance.

  • Else if the rStatus returned by the Read Directory event is not set to DirectoryOperationResult.Success: