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.

Converting Messages<br />

Messaging Gateway defines {name, value} pairs for AQ message properties and the<br />

header fields of non-<strong>Oracle</strong> messaging systems to convert native message headers<br />

and allow users to override the default values. The {name, value} pairs are called<br />

header properties. Whether or not you can access the header properties for a given<br />

propagation job depends on the messaging systems involved and the AQ payload<br />

type or transformation.<br />

Default Message Header Mapping<br />

Table 18–1 describes the default mapping between AQ message properties and<br />

MQSeries header fields. (Refer to "Notes on Table 18–1" on page 18-34 for an<br />

explanation of the numbers in parentheses.)<br />

Table 18–1 Default Mapping Between AQ Message Properties and MQSeries Header<br />

Fields<br />

AQ Message<br />

Property<br />

MQSeries<br />

Header Field<br />

Notes on Table 18–1<br />

Outbound Mapping (AQ<br />

Value to MQSeries Value)<br />

priority priority AQ values 0,1,2,3,4,5,6,<br />

7,8,9 are mapped<br />

respectively to MQSeries<br />

values 9,8,7,6,5,4,3,2,<br />

1,0<br />

AQ values < 0 are mapped as<br />

MQSeries value 9<br />

AQ values >=10 are mapped<br />

to MQSeries value 0<br />

expiration expiry Time unit is mapped to tenths<br />

of a second (1)<br />

AQ value NEVER is mapped<br />

to MQEI_UNLIMITED<br />

1. For outbound propagation, the AQ expiration value is used to calculate the<br />

remaining time-to-live because the AQ expiration value represents the<br />

expiration time specified when the message is enqueued. For inbound<br />

propagation, a direct mapping is done because the MQSeries expiration value<br />

already represents the remaining time-to-live.<br />

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

Inbound Mapping<br />

(MQSeries Value to AQ<br />

Value)<br />

MQSeries values 0,1,2,3,<br />

4,5,6,7,8,9 are mapped<br />

respectively to AQ values<br />

9,8,7,6,5,4,3,2,1,0<br />

Time unit is mapped to<br />

seconds (1)<br />

MQEI_UNLIMITED is mapped<br />

to NEVER

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

Saved successfully!

Ooh no, something went wrong!