09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Enqueue Features<br />

MultiConsumer Orders queue table',\<br />

multiple_consumers => TRUE, \<br />

queue_payload_type => 'BOLADM.order_typ', \<br />

compatible => '8.1', \<br />

primary_instance => 2, \<br />

secondary_instance => 1);<br />

EXECUTE dbms_aqadm.create_queue ( \<br />

queue_name => 'OE_bookedorders_que', \<br />

queue_table => 'OE_orders_pr_mqtab');<br />

Assume that a customer, John, wants to send an enqueue request using SOAP. The<br />

XML message will have the following format.<br />

<br />

<br />

<br />

<br />

<br />

OE.OE_bookedorders_que<br />

<br />

<br />

1<br />

<br />

1<br />

<br />

ORDER1<br />

1<br />

<br />

john<br />

<br />

<br />

<br />

<br />

100<br />

NEW<br />

URGENT<br />

EAST<br />

<br />

1001233<br />

JOHN<br />

8-56 <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!