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.

Creating a JMS Message<br />

Figure 16–12 Creating a JMS Message<br />

User/<br />

Program<br />

JMS Operational Interface -<br />

AQjmsSession<br />

CREATE<br />

JMS<br />

Message<br />

Purpose<br />

Create a JMS message<br />

createMessage<br />

specify<br />

message<br />

type<br />

Creating a JMS Message<br />

Usage Notes<br />

Use this ADT to store any or all of the JMS message types: bytes messages<br />

(JMSBytes), map messages (JMSMap), stream messages (JMSStream), object<br />

messages (JMSObject), or text messages (JMSText).<br />

You can use the AQ$_JMS_MESSAGE construct message to construct messages of<br />

different types. The message type must be one of the following:<br />

DBMS_AQ.JMS_TEXT_MESSAGE<br />

DBMS_AQ.JMS_OBJECT_MESSAGE<br />

DBMS_AQ.JMS_MAP_MESSAGE<br />

DBMS_AQ.JMS_BYTES_MESSAGE<br />

DBMS_AQ.JMS_STREAM_MESSAGE<br />

See Also: <strong>Oracle</strong>9i Supplied PL/SQL Packages and Types Reference for<br />

more information on JMS types.<br />

JMS Operational Interface: Basic Operations (Shared Interfaces) 16-19

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

Saved successfully!

Ooh no, something went wrong!