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.

Creating a Queue—Point-to-Point<br />

Usage Notes<br />

The queue table in which a queue is created has to be a single-consumer queue<br />

table.<br />

Syntax<br />

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

AQjmsSession.createQueue<br />

Example<br />

QueueSession q_sess;<br />

AQQueueTable q_table;<br />

AqjmsDestinationProperty dest_prop;<br />

Queue queue;<br />

queue = ((AQjmsSession)q_sess).createQueue(q_table, "jms_q1", dest_prop);<br />

13-36 <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!