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.

Rollback Request Example<br />

A rollback request has the following format:<br />

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

<br />

<br />

<br />

<br />

<br />

<br />

Server Response to Enqueue<br />

The response to an enqueue request to a single-consumer queue uses the<br />

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

Table 17–5.<br />

.<br />

Table 17–5 Server Response to an Enqueue to a Single-Consumer Queue (AQXmlSendResponse)<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 />

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

message_id—identifier for every message sent<br />

Server Request Example—Enqueuing a Single Message to a Single-Consumer<br />

Queue<br />

The result of a SEND request to the single consumer queue QS.NEW_ORDERS_QUE<br />

has the following format:<br />

<br />

<br />

<br />

<br />

<br />

0<br />

<br />

<br />

QS.NEW_ORDERS_QUE<br />

12341234123412341234<br />

<br />

<br />

Internet Access to <strong>Advanced</strong> <strong>Queuing</strong> 17-27

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

Saved successfully!

Ooh no, something went wrong!