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.

General Features of JMS<br />

JMS_<strong>Oracle</strong>OriginalMessageId - if the messages are propagated from one<br />

<br />

destination to another, this property is set to the message id of the message in<br />

the source. If the message is not propagated, this property has the same value<br />

as the JMSMessageId.<br />

A client can add additional header fields to a message by defining properties. These<br />

properties can then be used in message selectors to select specific messages.<br />

JMS properties or header fields are set either explicitly by the client or automatically<br />

by the JMS provider (these are generally read-only). Some JMS properties are set<br />

using the parameters specified send and receive operations.<br />

Table 12–1 Message Header Fields<br />

Message Header Field Type Set by Use<br />

JMSDestination Destination Set by JMS after Send Method has<br />

completed<br />

JMSDeliveryMode int Set by JMS after Send Method has<br />

completed<br />

JMSExpiration long Set by JMS after Send Method has<br />

completed<br />

JMSPriority int Set by JMS after Send Method has<br />

completed<br />

JMSMessageID String Set by JMS after Send Method has<br />

completed<br />

JMSTimeStamp long Set by JMS after Send Method has<br />

completed<br />

12-24 <strong>Oracle</strong>9i Application Developer’s Guide - <strong>Advanced</strong> <strong>Queuing</strong><br />

The destination to which the<br />

message is sent<br />

The delivery mode<br />

-PERSISTENT<br />

The expiration time can be<br />

specified for a Message Producer<br />

or can be explicitly<br />

specified during each send or<br />

publish<br />

Message’s priority can be<br />

specified for a Message Producer<br />

or can be explicitly<br />

specified during each send or<br />

publish<br />

A value that uniquely identifies<br />

each message sent by the<br />

provider<br />

The time a message is handed<br />

to a provider to be sent<br />

JMSCorrelationID String Set by JMS client A field that can be used to<br />

link one message with<br />

another

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

Saved successfully!

Ooh no, something went wrong!