Communicate as a network queue using the publish-subscribe model. Use messages
to send commands, status updates, and data between your systems and
Terminates the message session with the server.
Clears all queued messages associated with the session from the queue. .
Obtains the maximum number of bytes that the queue can hold.
Obtains the current number of bytes for the message queue associated with the session.
Creates a message session with the server.
Writes a message to a topic, which immediately sends the message to subscribers of the topic.
Returns a message from the queue.
Registers a session to receive messages published to a specific topic.
Unregisters a session from a specific topic to stop receiving messages.