Re: Are JMS + MQ compatible?
Posted By:
Edward_Kaszubowski
Posted On:
Thursday, August 23, 2001 09:44 AM
I think this pertains.
--------from the IBM/MQ docs---------
MQSeries messages are composed of three components:
The MQSeries Message Descriptor (MQMD)
An MQSeries MQRFH2 header
The message body.
The MQRFH2 is optional, and its inclusion in an outgoing message is governed by
a flag in the JMS Destination class. You can set this flag using the MQSeries JMS
administration tool. Because the MQRFH2 carries JMS-specific information, always
include it in the message when the sender knows that the receiving destination is a
JMS application. Normally, omit the MQRFH2 when sending a message directly to
a non-JMS application (MQSeries Native application). This is because such an
application does not expect an MQRFH2 in its MQSeries message. Figure 4 shows
how the structure of a JMS message is transformed to an MQSeries message and
back again: