The messaging service provides clients with methods to retrieve messages from the
ICWS server. There are 2 supported methods of retrieval:
ICWSserver. Note that the result can be an empty array if there are no queued messages.
ICWSserver to receive messages as they occur.
For more information on handling message retrieval, including how to check if the
ICWS server supports server-sent events, see Retrieving Messages.