Equinox Online Help - Language Reference - A to Z

Home

MessageID

Applies to
SyntaxMessageId
Action[Function] Returns the identifier of the last queue message that was sent or received by the client.
ScopeUsable anywhere.
Notes

Every message sent to the server message queue is assigned an identifier. This function returns the identifier for the last message that was either sent or received by the client. Once established, the identifier can be used as an argument for other functions, to check the status of a queue message or to delete it.

CategoryMessages
See Also DeleteAllMessages, DeleteMessage, DisplayMessage, MessageMaxLength, MessageQueueSize, MessageRetrieved, MessagesWaiting, QueueMessage, RetrieveMessage
Example

The following example method could be used to acknowledge receipt of a queue message. The return message belongs to the category "Response".

QueueMessage "Received: "&MessageId, ToSender, "Response"