WAS v8.5 > WebSphere applications > Messaging resources > Interoperation with WebSphere MQ > How messages are passed between service integration and a WebSphere MQ network

How service integration converts messages to and from WebSphere MQ format

Messages are converted between WebSphere MQ format and service integration format as they flow between the two systems.


Exchanging messages between JMS programs through service integration and WebSphere MQ

Usually, we do not have to be aware of conversion between message formats to exchange JMS messages between service integration and WebSphere MQ, because service integration performs the appropriate conversion automatically, including character and numeric encoding. However, you might have to learn about message conversion if your JMS applications do not behave as expected, or if your service integration configuration includes JMS programs or mediations that process messages to or from non-JMS WebSphere MQ programs.

If your service integration applications exchange MapMessage objects with WebSphere MQ applications, you might have to specify a non-default map message encoding format.


When service integration converts messages to and from WebSphere MQ format

Service integration converts a service integration message into a WebSphere MQ message in the following circumstances:

Service integration converts a WebSphere MQ message into a service integration message in the following circumstances:

When we use the WebSphere MQ messaging provider, there is no conversion between WebSphere MQ format and service integration format.


Overview of message conversion

When service integration converts a message to WebSphere MQ format, it usually constructs a WebSphere MQ message descriptor (MQMD), a rules and formatting header 2 (MQRFH2), and a message payload:

When service integration converts a message from WebSphere MQ format:

Figure 1. Message conversion to and from WebSphere MQ format

For reference information about the mappings for specific message header fields and properties between a service integration bus and WebSphere MQ, see the topics listed in the related reference. To help you program applications that interoperate with WebSphere MQ, these topics describe how the message formats are mapped between service integration messages and WebSphere MQ messages.


Reference:

Map the message body to and from WebSphere MQ format
Map the message header fields and properties to and from WebSphere MQ format
Map MQMD Report fields to JMS provider-specific properties
Map additional MQRFH2 header fields in service integration
Map the JMS delivery option and message reliability to and from the WebSphere MQ persistence value
Map destinations to and from WebSphere MQ queues, topics, and destinations
How to process WebSphere MQ message headers


+

Search Tips   |   Advanced Search