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.

Enqueuing a Message [Specify Message Properties]<br />

See Also:<br />

Purpose<br />

The Message Properties describe the information that is used by AQ to manage<br />

individual messages. These are set at enqueue time and their values are returned at<br />

dequeue time.<br />

Usage Notes<br />

Table 11–1 for a list of operational interface basic operations<br />

"Enqueuing a Message" on page 11-4<br />

"Enqueuing a Message [Specify Options]" on page 11-6<br />

"Enqueuing a Message [Specify Message Properties [Specify<br />

<br />

Sender ID]]" on page 11-12<br />

"Enqueuing a Message [Add Payload]" on page 11-14<br />

To view messages in a waiting or processed state, you can either dequeue or<br />

<br />

browse by message ID, or use SELECT statements.<br />

Message delay and expiration are enforced by the queue monitor (QMN)<br />

<br />

background processes. You should remember to start the QMN processes for<br />

the database if you intend to use the delay and expiration features of AQ.<br />

Syntax<br />

See Chapter 3, "AQ Programmatic Environments" for a list of available functions in<br />

each programmatic environment. Use the following syntax references for each<br />

programmatic environment:<br />

PL/SQL (DBMS_AQ Package): <strong>Oracle</strong>9i Supplied PL/SQL Packages and Types Reference<br />

<br />

DBMS_AQ, ENQUEUE procedure<br />

Visual Basic (OO4O) (<strong>Oracle</strong> Objects for OLE (OO4O) Online Help): From Help<br />

<br />

Topics, Contents tab, select OO4O Automation Server > OBJECTS > OraAQ<br />

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

<br />

AQMessageProperty<br />

11-10 <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!