Question

I need some advise to create simple mechanism for queueing.

Note that: "Consumer", "Producer" and "Product" words are from "producer–consumer problem" terminology.

I have couple processes - "Producer" (PL/SQL procedures) that can generate some "Product" (I mean that this can be anything like row or any ID).

Then this information I want to put into some FIFO queue (this can be table).

After that, I want to define for example 10 or even more (nice to be parametrized) "Consumers" (one PL/SQL procedure that can consume received "product" from queue).

Any idea how to do this ?

Was it helpful?

Solution

Look at official docs, plus you can find many howtos on the internet.

http://docs.oracle.com/cd/B10501_01/appdev.920/a96587/apexampl.htm

Also have to point that AQ can act as an Java JMS provider. So in Weblogic you can use AQ as a provider of the "generic" Java Messaging System standard.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top