Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » QAnywhere » QAnywhere API Reference » QAnywhere C++ API reference » QAManagerBase class

 

browseMessagesByQueue function

Syntax
qa_browse_handle QAManagerBase::browseMessagesByQueue(
  qa_const_string address
)
Parameters
  • address¬†¬† The queue in which to browse.

Remarks

Begins a browse of messages queued in the message store for the given queue.

The handle returned by this method is supplied to QAManagerBasebrowseNextMessage. This method and QAManagerBasebrowseNextMessage can be used to enumerate the messages in the message store at the time this method was called.

The messages are just being browsed, so they cannot be acknowledged. Use QAManagerBasegetMessage to receive messages so they can be acknowledged.

See Also

browseNextMessage function

browseMessagesByID function

browseMessages function

browseClose function

Returns

A handle that is supplied to browseNextMessage.