Receive Mode

Specifies the mode to use for receiving messages.

There are three modes:
  • Browse: The adapter only browses the message on the queue without deleting it.
  • Peek Lock: The adapter does not delete the message from the queue immediately upon reading it. Instead, a lock is created for the message which the adapter completes at end of the transaction, as defined by the transaction scope for the adapter. The completion of the lock in turn results in deleting the message from the queue.
  • Receive and Delete: The message is deleted immediately from the queue at the time it is received.

The corresponding adapter command for this property is -RM, where mode is one of browse, peek_lock or receive_and_delete (case-insensitive). The default value is browse.