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

produced by an application. Every message enqueued by Application A is dequeued<br />

by Application B and Application C. To make this possible, the multiconsumer queue<br />

is specially configured with Application B and Application C as queue subscribers.<br />

Consequently, they are implicit recipients of every message placed in the queue.<br />

Figure 7–5 Communication Using a Multiconsumer Queue<br />

Dequeue<br />

Application B<br />

Application A<br />

Enqueue<br />

Multiple<br />

Consumer<br />

Queue<br />

Dequeue<br />

Application C<br />

Note: Queue subscribers can be applications or other queues.<br />

Dequeuing of Specified Messages by Specified Recipients<br />

Figure 7–6 shows how a message can be specified for one or more recipients. In this<br />

case, Message 5 is specified to be dequeued by Recipient-1 and Recipient-2. Neither of<br />

the recipients is one of the 3 subscribers to the queue.<br />

Modeling and Design 7-9

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

Saved successfully!

Ooh no, something went wrong!