Applies To
OAQ
Description
Specifies the position of the message that will be retrieved.
Usage
void SetNavigation(int position) const throw(OException)
Arguments
position
An integer specifying the position of the message that will be retrieved.
Remarks
Possible values include :
· OAQ_DQ_FIRST_MSG (1) - Retrieves the first message that is available and
matches the search criteria.
· OAQ_DQ_NEXT_MSG (3) (Default) - Retrieves the next message that is available
and matches the search criteria.
· OAQ_DQ_NEXT_TRANS (2) - Skips the remainder of the current transaction group,
if any, and retrieves the first message of the next transaction group. Used
only if the message grouping is enabled for the queue.