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.

Scheduling a Propagation<br />

See Also:<br />

Table 13–1 for a list of JMS administrative interface basic<br />

<br />

operations<br />

"Class - oracle.jms.AQjmsDestination" on page B-47<br />

Purpose<br />

Schedule a Propagation<br />

Usage Notes<br />

Messages can be propagated to other topics in the same database by specifying a<br />

NULL destination. If the message has multiple recipients at the same destination in<br />

either the same or different queues the message will be propagated to all of them at<br />

the same time.<br />

Syntax<br />

See Java (JDBC): <strong>Oracle</strong>9i Supplied Java Packages Reference oracle.jms,<br />

AQjmsDestination.schedulePropagation<br />

Example<br />

TopicSession t_sess;<br />

Topic topic;<br />

((AQjmsDestination)topic).schedulePropagation(t_sess, null, null, null, null,<br />

new Double(0));<br />

13-58 <strong>Oracle</strong>9i Application Developer’s Guide - <strong>Advanced</strong> <strong>Queuing</strong>

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

Saved successfully!

Ooh no, something went wrong!