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.

Starting a Destination<br />

Usage Notes<br />

After creating a destination, the administrator must use the start method to enable<br />

the destination. If Enable Enqueue is set to TRUE, then the destination is enabled<br />

for enqueue. If Enable Enqueue is set to FALSE, then the destination is disabled for<br />

enqueue. Similarly, if Enable Dequeue is set to TRUE, then the destination is<br />

enabled for dequeue. If Enable Dequeue is set to FALSE, the destination is disabled<br />

for dequeue.<br />

Syntax<br />

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

AQjmsDestination.start<br />

Example<br />

TopicSession t_sess;<br />

QueueSession q_sess;<br />

Topic topic;<br />

Queue queue;<br />

(AQjmsDestination)topic.start(t_sess, true, true);<br />

(AQjmsDestination)queue.start(q_sess, true, true);<br />

JMS Administrative Interface: Basic Operations 13-51

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

Saved successfully!

Ooh no, something went wrong!