Previous |
Next |
You can use Enterprise Manager to modify some of the properties of an existing queue, including the following properties:
Maximum Retries: The number of dequeuing attempts allowed on a message before the message is moved to the exception queue. If there is poor connectivity in your messaging environment, then a connection might be lost while an application is in the process of dequeuing messages. In such environment, you might increase the number of maximum retries allowed so that applications can try to dequeue messages a number of times before the messages are moved to the exception queue.
Retry Delay: The amount of time after which a message is scheduled for processing again after an application rollback. If there is poor connectivity in your messaging environment, then you might want applications to wait for a set period of time after a failed attempt to dequeue messages. In such environments, you might increase the retry delay setting to specify the amount of time to wait.
Retention Time: The amount of time that a message is retained in a queue after the message has been dequeued by all of its consumers. If you want to track messages that have been consumed, then you might set a retention time that enables you to record information about the messages that have been stored in the queue.
You can set these properties to values that work best with the applications that dequeue messages from the queue.
To modify a queue:
In Oracle Enterprise Manager, log in to the database as the Oracle Streams administrator.
Go to the Database Home page.
Click Data Movement to open the Data Movement subpage.
Click Manage Advanced Queues to open the Streams page.
Select the queue that you want to modify. If necessary, use the search tool to find the queue, and then select it.
Click Edit to open the Edit Queue page.
Modify one or more queue properties.
Click Apply to save your changes.
Note: You can also use the DBMS_AQADM.ALTER_QUEUE
procedure to modify a queue.