AQQueueProperty - Oracle 9i

This class represents queue properties.

Constants

Constructor

public AQQueueProperty()

This method creates a new AQQueueProperty object with default property values.

Methods

getQueueType

public int getQueueType() throws AQException

This method gets the queue type.

Returns

NORMAL_QUEUE or EXCEPTION_QUEUE

setQueueType

public void setQueueType(int q_type) throws AQException

This method is used to set the queue type.

setQueueType

getMaxRetries

public int getMaxRetries()throws AQException

This method gets the maximum retries for dequeue with REMOVE mode.

setMaxRetries

This method sets the maximum retries for dequeue with REMOVE mode.

setMaxRetries

setRetryInterval

public void setRetryInterval(double interval) throws AQException
public void setRetryInterval(Double interval) throws AQException

This method sets the retry interval, that is the time before this message is scheduled for processing after an application rollback. Default is 0.

setRetryInterval

getRetryInterval

public double getRetryInterval() throws AQException

This method gets the retry interval.

getRetentionTime

public double getRetentionTime() throws AQException

This method gets the retention time.

getRetentionTime

setRetentionTime

This method gets the retention time.

getComment

public java.lang.String getComment() throws AQException

This method gets the queue comment.

getComment

setComment

public void setComment(java.lang.String qt_comment) throws AQException

This method sets the queue comment.

Set up the test_aqjava class as described in the Setup for oracle.AQ Examples section

Create a AQQueueProperty object

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Oracle 9i Topics