GetExceptionQueue Method

Applies To

OAQMsg

Description

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

Usage

const char *GetExceptionQueue(void) throw(
OException)

Arguments

none

Remarks

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

· A String containing a valid queue name

· NULL (Default)

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 Oracle8i Application Developer's Guide - Advanced Queuing.

Contents