3.2.7.5 Message Available
This event MUST be generated with the following argument:
iMessagePosition: A reference to a MessagePosition (section 3.1.1.11) ADM element instance that contains an available message.
Return Value:
None.
The queue manager MUST perform the following actions to process this event:
If the CursorState ADM attribute of the Cursor ADM element instance is WaitPeek:
Set the CursorState ADM attribute of the Cursor ADM element instance to Read.
Else if the CursorState ADM attribute of the Cursor ADM element instance is WaitReceive:
Set the CursorState ADM attribute of the Cursor ADM element instance to Unread.
Set the MessagePositionReference ADM attribute of the Cursor ADM element instance to iMessagePosition.