09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Propagation<br />

Scenario<br />

Enhanced Propagation Scheduling Capabilities<br />

Exception Handling During Propagation<br />

Message Format Transformation During Propagation<br />

Propagation Features<br />

This feature allows applications to communicate with each other without being<br />

connected to the same database or to the same queue. Messages can be propagated<br />

from one queue to another. The destination queue can be located in the same<br />

database or in a remote database. Propagation is performed by job queue<br />

background processes. Propagation to the remote queue uses database links over<br />

<strong>Oracle</strong> Net Services or HTTP(S).<br />

The propagation feature is used as follows. First one or more subscribers are<br />

defined for the queue from which messages are to be propagated (see<br />

"Subscriptions and Recipient Lists" on page 8-36). Second, a schedule is defined for<br />

each destination where messages are to be propagated from the queue. Enqueued<br />

messages will be propagated and automatically available for dequeuing at the<br />

destination queues.<br />

For propagation over the Internet, you must specify the remote Internet user in the<br />

database link. The remote Internet user must have privileges to enqueue in the<br />

destination queue.<br />

Note that two or more job_queue background processes must be running to use<br />

propagation. This is in addition to the number of job_queue background<br />

processes needed for handling non-propagation related jobs. Also, if you want to<br />

deploy remote propagation, you must ensure that the database link specified for the<br />

schedule is valid and have proper privileges for enqueuing into the destination<br />

queue. For more information about the administrative commands for managing<br />

propagation schedules, see "Propagation Scheduling" on page 8-108.<br />

Propagation also has mechanisms for handling failure. For example, if the database<br />

link specified is invalid, then the appropriate error message is reported.<br />

Finally, propagation provides detailed statistics about the messages propagated and<br />

the schedule itself. This information can be used to properly tune the schedules for<br />

best performance. See "Enhanced Propagation Scheduling Capabilities" for a<br />

discussion of the failure handling and error reporting facilities of propagation and<br />

propagation statistics.<br />

A Sample Application Using AQ 8-107

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

Saved successfully!

Ooh no, something went wrong!