Skip Headers
Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 2 (10.2)

Part Number B14308-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

SetExceptionQueue Method

Applies To

OAQMsg

Description

Specifies the name of the queue to which message should be moved if it cannot be processed successfully.

Usage

void SetExceptionQueue(const char *qname) const throw(OException)

Arguments

  • name
A string specifying a valid queue name.
Remarks

Applicable only for a message that is being enqueued. Possible values:

A message is moved to the exception queue if it has expired or the number of dequeue attempts has exceeded the max_retries argument specified in the DBMS_AQADM.CREATE_QUEUE command. For more information on the CREATE_QUEUE command, see the Oracle Streams Advanced Queuing User's Guide and Reference.