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.

Purpose<br />

Adds a message to the specified queue.<br />

Enqueuing a Message<br />

Usage Notes<br />

If a message is enqueued to a multiconsumer queue with no recipient and the queue<br />

has no subscribers (or rule-based subscribers that match this message), then the<br />

<strong>Oracle</strong> error ORA 24033 is raised. This is a warning that the message will be<br />

discarded since there are no recipients or subscribers to whom it can be delivered.<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<br />

<br />

Reference 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 />

AQ<strong>Oracle</strong>Queue.enque<br />

Examples<br />

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

each programmatic environment. Examples in the following programmatic<br />

environments are provided:<br />

PL/SQL (DBMS_AQ Package): Enqueue of Object Type Messages on page 11-16<br />

Java (JDBC): Enqueue a message (add payload) on page 11-18<br />

Visual Basic (OO4O): Enqueue a message on page 11-21<br />

Operational Interface: Basic Operations 11-5

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

Saved successfully!

Ooh no, something went wrong!