AQjmsDestinationProperty - Oracle 9i

This class defines Destination properties

AQjmsDestinationProperty

Constants

Constructors
AQjmsDestinationProperty()

public AQjmsDestinationProperty()

Constructor - initializes object with default destination properties

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.

Parameter Meaning
q_type NORMAL_QUEUE or EXCEPTION_QUEUE

getMaxRetries

public int getMaxRetries() throws AQException

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

setMaxRetries

public void setMaxRetries(int retries) throws AQException public void setMaxRetries(Integer retries) throws AQException

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

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.

Parameter Meaning
interval retry interval; specifying NULL will use the default

getRetryInterval

public double getRetryInterval() throws AQException

This method gets the retry interval.

getRetentionTime

public double getRetentionTime() throws AQException

This method gets the retention time

setRetentionTime

public void setRetentionTime(double r_time)throws AQException public void setRetentionTime(Double r_time)throws AQException

This method gets the retention time.

Parameter Meaning

r_time retention time; specifying NULL will use the default

getComment

public java.lang.String getComment() throws AQException This method gets the queue comment.

Parameter Meaning

qt_comment queue comment

setComment

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

This method sets the queue comment.


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

Oracle 9i Topics