SAP PI messaging service is JMS compliant or not


As per my knowledge, SAP PI Messaging Server 7.4 AEX is compatible with JMS 1.02 and JMS 1.1. Using Java Messaging Service, you can connect messaging systems to the Integration Engine.

You can refer to SAP Note: 856346 - J2EE JMS Adapter

This note says common FAQ’s about JMS and I have JMS message properties that are of significant. How do I get this data into XI? How do I get this data out of XI?

A feature generically referred to as XI adapter-specific message properties was introduced in the adapter framework. This allowed additional adapter information to be attached to a XI message which can be used the routing, mapping and BPE. The message properties of different adapters are differentiated by namespaces.

If you are on XI 3.0 support pack 18 onwards, the JMS adapter allows you to copy JMS message properties into these XI adapter specific message properties (at the sender JMS channel), and to copy the values of XI adapter specific message properties back into JMS message properties (at the receiver JMS channel).

The JMS adapter currently supports upto 10 JMS message properties to be copied into the XI message properties with the name DCJMSMessageProperty0 to DCJMSMessageProperty9. The configuration details of how to achieve this are explained in the sub-topic pages of the JMS adapter documentation. (See sub topics: "Configuring the Sender JMS adapter", "Configuring the Receiver JMS adapter")

JMS Message properties can have values belonging to types: boolean, byte, short, int, long, float, double, and String (defined in the specification). These are all normalized to strings when converted to their respective XI message properties at the sender JMS channel.

However, in the receiver JMS channel configuration, you can enter specific JMS message property types, such that these normalized XI message properties may be coerced back into their original types (or any compatible JMS message property type) when translating a XI message into a JMS message.

Transfer of custom JMS Message properties from/to XI adapters-specific message attributes is only supported for JMS compliant messages, i.e. this feature will not work for Websphere MQ in legacy mode.

Deprecated Information on this feature:

Between support pack 14 to support pack 18, the JMS adapter allowed the allowed you append _only_ up to two JMS _string_ properties to the XI message in the sender channel, which could then be analyzed in XI routing, mapping and BPE. In the JMS receiver channel, the XI adapter-specific message attributes could be read, and up to two JMS string properties could be set. The names of the (now deprecated) XI message properties were DCJMSStringProperty1 and DCJMSStringProperty2.

Also refer this SAP documentation link on JMS:

SAP documentation on JMS


Updated on: 30-Jul-2019

167 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements