Applies To
OAQ
Description
Returns the transactional behavior of the enqueue request.
Usage
int GetVisibility(void) const throw(OException)
Arguments
none
Remarks
This property is applicable only for an Enqueue operation. Possible return
values are:
· OAQ_ENQ_IMMEDIATE (1) - The Enqueue operation constitutes a transaction of its
own. Set this property to make the message visible immediately after the
Enqueue operation.
· OAQ_ENQ_ON_COMMIT (2) (Default) - The Enqueue is part of the current
transaction and the message will be visible only after the transaction commits.