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.

See Also:<br />

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

<br />

operations<br />

"Class - oracle.jms.AQjmsSession" on page B-53<br />

"Creating a Queue Table [Specify Queue Table Property]" on<br />

<br />

page 13-30<br />

Purpose<br />

Create a queue table.<br />

Creating a Queue Table<br />

Usage Notes<br />

CLOB, BLOB, BFILE objects are valid attributes for an AQ object type load.<br />

However, only CLOB and BLOB can be propagated using AQ propagation in<br />

<strong>Oracle</strong>8i and after.<br />

Syntax<br />

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

AQjmsSession.createQueueTable<br />

Example<br />

QueueSession q_sess = null;<br />

AQQueueTable q_table = null;<br />

AQQueueTableProperty qt_prop = null;<br />

qt_prop = new AQQueueTableProperty("SYS.AQ$_JMS_BYTES_MESSAGE");<br />

q_table = ((AQjmsSession)q_sess).createQueueTable("boluser",<br />

"bol_ship_queue_table", qt_prop);<br />

JMS Administrative Interface: Basic Operations 13-29

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

Saved successfully!

Ooh no, something went wrong!