AQDequeueOption - Oracle 9i

This class is used to specify the options available for the dequeue option.

Constants

Constructor

public AQDequeueOption()

This method creates an object with the default options.

getConsumerName

public java.lang.String getConsumerName() throws AQException

This method gets consumer name.

setConsumerName

public void setConsumerName(java.lang.String consumer_name)
throws AQException

This method sets consumer name

setConsumerName

getDequeueMode

public int getDequeueMode() throws AQException

This method gets dequeue mode.

Returns

DEQUEUE_BROWSE, DEQUEUE_LOCKED, DEQUEUE_REMOVE or
DEQUEUE_REMOVE_NODATA

setDequeueMode

public void setDequeueMode(int dequeue_mode) throws AQException

This method sets the dequeue mode.

getNavigationMode

public int getNavigationMode() throws AQException

This method gets the navigation mode.
Returns

NAVIGATION_FIRST_MESSAGE or NAVIGATION_NEXT_MESSAGE or
NAVIGATION_NEXT_TRANSACTION

setNavigationMode

public void setNavigationMode(int navigation) throws AQException

This method sets the navigation mode.

setNavigationMode
getVisibility

public int getVisibility() throws AQException

This method gets the visibility.

Returns

VISIBILITY_IMMEDIATE or VISIBILITY_ONCOMMIT

setVisibility

public void setVisibility(int visibility) throws AQException

This method sets the visibility.

setVisibility

getWaitTime

public int getWaitTime() throws AQException

This method gets the wait time.

Returns

WAIT_FOREVER or WAIT_NONE or the actual time in seconds

setWaitTime

public void setWaitTime(int wait_time) throws AQException

This method sets the wait time.

getMessageId

public byte[] getMessageId() throws AQException

This method gets the message id.

setMessageId

public void setMessageId(byte[] message_id) throws AQException

This method sets the message id.

setMessageId

getCorrelation

public java.lang.String getCorrelation() throws AQException

This method gets the correlation id.

setCorrelation

public void setCorrelation(java.lang.String correlation)
throws AQException

.setCorrelation

This method sets the correlation id.


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

Oracle 9i Topics