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 />

The Message Conversion Process<br />

When a message is propagated by the gateway, the message is converted from the<br />

native format of the source queue to the native format of the destination queue.<br />

A native message contains a message header and a message body. The header<br />

contains the fixed header fields that all messages in a messaging system have, such<br />

as message properties in <strong>Advanced</strong> <strong>Queuing</strong> and the fixed header in MQSeries. The<br />

body contains message contents, such as the AQ payload and the MQSeries<br />

message body. Messaging Gateway converts both message header and message<br />

body components.<br />

Message conversion is done in two stages, as shown in Figure 18–2. A message is<br />

converted from the native format of the source queue to the gateway internal<br />

message format first, and then from the internal message format to the native<br />

format of the destination queue.<br />

Figure 18–2 Message Conversion<br />

<strong>Advanced</strong> <strong>Queuing</strong><br />

Message<br />

AQ Property<br />

AQ Payload<br />

Messaging Gateway<br />

Message<br />

AQ Property<br />

Canonical Type<br />

The gateway agent uses an internal message format consisting of a header that is<br />

the same as the AQ message properties and a body that is an object of the gateway<br />

canonical types.<br />

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

Non-<strong>Oracle</strong><br />

Message<br />

Message<br />

Outbound<br />

Propagation<br />

Inbound<br />

Propagation

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

Saved successfully!

Ooh no, something went wrong!