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.

<br />

<br />

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

Dequeue Request Example—Browsing Messages<br />

Messages are dequeued in REMOVE mode by default. To receive messages from<br />

QS.NEW_ORDERS_QUE in BROWSE mode, modify the receive request as follows:<br />

<br />

<br />

<br />

<br />

<br />

QS.NEW_ORDERS_QUE<br />

0<br />

BROWSE<br />

<br />

<br />

<br />

<br />

Client Requests for Registration<br />

Client requests for registration use the AQXmlRegister method, which takes the<br />

arguments and argument attributes shown in Table 17–4. Required arguments are<br />

shown in bold.<br />

.<br />

Table 17–4 Client Registration—Arguments and Attributes for AQXmlRegister<br />

Argument Attribute<br />

register_options destination—specify the queue or topic on which notifications are<br />

registered. The destination element has an attribute lookup_type which<br />

determines how the destination element value is interpreted<br />

DATABASE (default)—destination is interpreted as<br />

<br />

schema.queue_name<br />

LDAP—the LDAP server is used to resolve the destination<br />

- consumer_name—the consumer name for multiconsumer queues or topics.<br />

For single consumer queues, this parameter must not be specified<br />

- notify_url—where notification is sent when a message is enqueued. The<br />

form can be http:// or mailto:// or<br />

plsql://.<br />

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

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

Saved successfully!

Ooh no, something went wrong!