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.

Purpose<br />

Get the Message Property as Int<br />

Usage Notes<br />

Not applicable.<br />

Getting the JMS Message Property as Int<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 />

AQjmsMessage.getIntProperty<br />

Examples<br />

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

each programmatic environment.<br />

StreamMessage message;<br />

message.setIntProperty("MMS_<strong>Oracle</strong>Delay", 10); /*set message delay to 10<br />

seconds*/<br />

message.setIntProperty("empid", 1000); /*set user-defined property - empId*/<br />

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

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

Saved successfully!

Ooh no, something went wrong!