cancel
Showing results for 
Search instead for 
Did you mean: 

PI JMS Adapter MQ Message Format

Former Member
0 Kudos

Hi,

I know that if you change the target client in the JMS adapter properties il will change the message format for MQSTR (Websphere MQ Non-JMS) or MQRFH2 (JMS-Compliant).

But is there a way to force the MQ Message format to NONE or an empty string? The MQSTR is causing some unwanted conversion in legacy systems.

PI 7.1 EHP1.

Thanks,

Martin

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Martin - I relize you've already answered, but as an fyi, my somewhat related requirement was to have the mqmd.format=MQIMS, instead of the value MQSTR that PI seems to default to.

I was able to achieve this by

(1) setting that Module JMSMessageType=bytes parm like you did, and

(2) set an additional parameter entry (i.e. on your 'Advanced' tab) of

JMS.Message.method.setStringProperty java.lang.String JMS_IBM_Format, java.lang.String MQIMS

(I think you need MQ7 libraries for this).

Keith

Former Member
0 Kudos

I was able to achieve this by not specifying a CSSID in the Receiver channel parameters and by adding a property to the SAP XI JMS Adapter/SendBinarytoXIJMSService adapter module:

Exit JMSMessageType bytes