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.

Structured Payloads<br />

General Features of <strong>Advanced</strong> <strong>Queuing</strong><br />

schema => 'OE', name => 'OE2WS',<br />

attribute_number => 1,<br />

transformation => 'source.user_data.payment_method');<br />

execute dbms_transform.modify_transformation(<br />

schema => 'OE', name => 'OE2WS',<br />

attribute_number => 1,<br />

transformation => 'source.user_data.orderitemlist_vartyp');<br />

execute dbms_transform.modify_transformation(<br />

schema => 'OE', name => 'OE2WS',<br />

attribute_number => 1,<br />

transformation => 'source.user_data.ccnumber');<br />

execute dbms_transform.modify_transformation(<br />

schema => 'OE', name => 'OE2WS',<br />

attribute_number => 1,<br />

transformation => 'source.user_data.order_date');<br />

Visual Basic (OO4O): Example Code<br />

No example is provided with this release.<br />

Java (JDBC): Example Code<br />

No example is provided with this release.<br />

With <strong>Oracle</strong> AQ, you can use object types to structure and manage the payload of<br />

messages. The object-relational capabilities of <strong>Oracle</strong> provide a rich set of data types<br />

that range from traditional relational data types to user-defined types.<br />

Using strongly typed content, that is, content whose format is defined by an <strong>Oracle</strong><br />

object type system, makes the following features available:<br />

Content-based routing: <strong>Advanced</strong> <strong>Queuing</strong> can examine the content and<br />

<br />

automatically route messages to another queue based on content.<br />

Content-based subscription: a publish and subscribe system can be built on top<br />

<br />

of a messaging system so that you can create subscriptions based on content.<br />

XML: Use the flexibility and extensibility of XML with AQ messages. XMLType<br />

has additional operators to simplify the use of XML data. The operators include<br />

XMLType.existsNode( ) and XMLType.extract( ).<br />

A Sample Application Using AQ 8-11

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

Saved successfully!

Ooh no, something went wrong!