09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

General Questions<br />

2 - Ex subscriber - A subscriber that unsubscribed but had agent entries in the<br />

history aq$_queuetable_h IOT.<br />

4 - Address - Used to store addresses of recipients. The name is always NULL. The<br />

address is always non-NULL.<br />

8 - Proxy for Propagation - The name is always NULL.<br />

database proxy to local queues, address=NULL, protocol=0<br />

database proxy to remote queues, address=dblink address, protocol=0<br />

3rd party proxies, address = NULL, protocol = 3rd party protocol.<br />

After a message has been moved to an exception queue, is there a way,<br />

using SQL or otherwise, of identifying which queue the message<br />

resided in before moving to the exception queue?<br />

No, AQ does not provide this information. To get around this, the application could<br />

save this information in the message.<br />

What is the order in which messages are dequeued if many messages<br />

are enqueued in the same second?<br />

When the enq_time is the same for messages, there is another field called step_no<br />

that will be monotonically increasing (for each message that has the same enq_<br />

time). Hence this helps in maintaining the order of the messages. There will be no<br />

situation when both enq_time and step_no are the same for more than one<br />

message enqueued from the same session.<br />

What happened to OMB? When should we use AQ and when should we<br />

use <strong>Oracle</strong> MessageBroker?<br />

In <strong>Oracle</strong>9i, OMB functionality is provided in the <strong>Oracle</strong> database. So, if you are<br />

using the <strong>Oracle</strong>9i database, use the functionality offered by the database.<br />

You do not need OMB.<br />

With <strong>Oracle</strong>8i, use OMB in the following scenarios:<br />

To integrate with MQ Series<br />

<br />

To use HTTP framework<br />

Use JMS functionality directly from the database in other scenarios.<br />

Frequently Asked Questions 6-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!