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.

Creating an ADT Message<br />

Purpose<br />

Create an ADT Message<br />

Usage Notes<br />

This method can be used only if the queue table that contains the queue/topic was<br />

created with an <strong>Oracle</strong> ADT payload_type (not one of the SYS.AQ$_JMS* types).<br />

An ADT message must be populated with an object that implements the<br />

CustomDatum interface. This object must be the java mapping of the SQL ADT<br />

defined as the payload for the queue/topic. Java classes corresponding to SQL<br />

ADTs may be generated using the Jpublisher tool. Please refer to the JDBC<br />

documentation for details on CustomDatum interface and Jpublisher.<br />

Refer to Java Packages Reference for methods used to populate AdtMessage.<br />

Syntax<br />

See Chapter 3, "AQ Programmatic Environments" for a list of available functions in<br />

each programmatic environment. Use the following syntax references for each<br />

programmatic environment:<br />

See Java (JDBC): <strong>Oracle</strong>9i Supplied Java Packages Reference oracle.jms,<br />

AQjmsSession.createAdtMessage<br />

Examples<br />

See Chapter 3, "AQ Programmatic Environments" for a list of available f.nctions in<br />

each programmatic environment.<br />

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

16-22 <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!