DequeueMode (OraAQ) Property

Applies To

OraAQ Object

Description

Specifies the locking behavior associated with the dequeue operation.

Usage

Q.DequeueMode = locking_mode 

Data Type

Integer

Remarks

Possible values are:

  • ORAAQ_DQ_BROWSE ( 1)

    Does not lock the message when dequeuing.

  • ORAAQ_DQ_LOCKED ( 2)

    Reads and obtains a write lock on the message.

  • ORAAQ_DQ_REMOVE (3 )(Default)

    Reads the message, and updates or deletes it.