Oracle Objects for OLE C++ Class Library
Release 9.0.1

Part Number A90172-01

Home

Book List

Contents

Master Index

Feedback

SetExpiration Method

Applies To

OAQMsg

Description

Specifies in seconds, the time for which the message is available for dequeuing.

Usage

void SetExpiration(int expiretime) const throw(
OException)

Arguments

expiretime
An integer specifying the number of seconds.
Remarks

This property is an offset from the delay. It is applicable only for a message that is being enqueued. Possible values are:

· Any integer

· OAQ_MSG_NO_EXPIRE (0) (Default) The message will never expire.


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents