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.

Modeling Queue Entities<br />

Figure 7–2 Modeling Basic <strong>Queuing</strong><br />

Queue Table<br />

Enqueue<br />

application as<br />

producers<br />

Queue<br />

Producers<br />

The figure indicates that there are 6 producers of messages, although only four are<br />

shown. This assumes that two other producers (P4 and P5) have the right to<br />

enqueue messages even though there are no messages enqueued by them at the<br />

moment portrayed by the figure. The figure shows that:<br />

A single producer may enqueue one or more messages.<br />

Producers may enqueue messages in any sequence.<br />

7-4 <strong>Oracle</strong>9i Application Developer’s Guide - <strong>Advanced</strong> <strong>Queuing</strong><br />

P1<br />

P2<br />

P3<br />

P3<br />

P2<br />

P6<br />

Msg 1<br />

Msg 2<br />

Msg 3<br />

Msg 4<br />

Msg 5<br />

Msg 6<br />

C1<br />

C2<br />

C3<br />

Dequeue<br />

application as<br />

consumers

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

Saved successfully!

Ooh no, something went wrong!