Network Deployment (Distributed operating systems), v8.0 > Reference > Developer best practices


Map JMS delivery and message reliability options to and from WebSphere MQ


When converting messages between WebSphere MQ format and service integration format, service integration processes the message header fields and properties relating to message delivery mode, reliability, and persistence.


QOS indications in the WebSphere MQ format message

The WebSphere MQ format message contains the following indications of the quality of service:

MQMD persistence
MQPER_PERSISTENT Persistent QOS. MQ assures once and once only delivery of the message.
MQPER_NOT_PERSISTENT Nonpersistent QOS. MQ can discard the message in exceptional circumstances.
MQPER_PERSISTENCE_AS_Q_DEF MQ sets the QOS (persistent or nonpersistent) to the value configured for the destination queue.
MQRFH2 jms.Dlv Contains the JMSDeliveryMode set when the application issued send for the message.


QOS indications when service integration converts a message to WebSphere MQ format

Message reliability levels - JMS delivery mode and service integration QOS describes how service integration sets the message reliability. Briefly: JMS applications send messages with a JMS delivery mode (persistent or nonpersistent), then service integration uses JMS connection factory settings to map the JMS delivery mode to a service integration message reliability setting, and finally additional settings on bus destinations (including foreign destinations and alias destinations) can override this message reliability. When service integration converts the message to WebSphere MQ format, it sets the MQMD persistence indicator as follows:

Service integration message reliability MQMD persistence
Reliable persistent Persistent
Assured persistent Persistent
Reliable nonpersistent Nonpersistent
Express nonpersistent Nonpersistent
Best effort nonpersistent Nonpersistent

The sending application can optionally override this by setting the JMS_IBM_MQMD_Persistence message property in the message.


QOS indications when service integration converts a message from WebSphere MQ format

When service integration receives a message from WebSphere MQ, it uses the MQMD persistence value of the message together with the corresponding service integration reliability value that you configure in the WebSphere MQ link receiver or the WebSphere MQ server queue point to determine the reliability of the service integration message.
Point-to-point messaging with a WebSphere MQ network
Message reliability levels - JMS delivery mode and service integration QOS
Specify whether messages are forwarded to WebSphere MQ as JMS messages


Related


Map the message header fields and properties to and from WebSphere MQ format

+

Search Tips   |   Advanced Search