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.

The Internet Data Access Presentation (IDAP)<br />

<br />

<br />

The response to an enqueue request to a multiconsumer queue or topic uses the<br />

AQXmlPublishResponse method. The components of the response are shown in<br />

Table 17–6.<br />

.<br />

Table 17–6 Server Response to an Enqueue to a Multiconsumer Queue or Topic<br />

(AQXmlPublishResponse)<br />

Response Attribute<br />

status_response status_code—indicates success (0) or failure (-1)<br />

error_code—<strong>Oracle</strong> code for the error<br />

error_message—description of the error<br />

publish_result destination—where the message was sent<br />

message_id—identifier for every message sent<br />

Server Request Example—Enqueuing to a Multiconsumer Queue<br />

The result of a SEND request to the multiconsumer queue AQUSER.EMP_TOPIC has<br />

the following format:<br />

<br />

<br />

<br />

<br />

<br />

0<br />

<br />

<br />

AQUSER.EMP_TOPIC<br />

23434435435456546546546546<br />

<br />

<br />

<br />

<br />

Server Response to a Dequeue Request<br />

The response to a dequeue request uses the AQXmlReceiveResponse method. The<br />

components of the response are shown in Table 17–7.<br />

17-28 <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!