cancel
Showing results for 
Search instead for 
Did you mean: 

Content Type in JMS Receiver

Former Member
0 Kudos

Hi,

I have a File ---> SAP PI ---> JMS (SonicMQ) scenario. I have done the settings and the message is passed successfully to the SonicMQ broker.

However the end system is complaning that the received message is a text file and not a xml file.

How should I ensure that the message transferred by PI is in XML format?

Thanks,

Pankaj.

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

If you are not doing anu content conversion in Communication channel then XML message only deliver to MQ , even you can check payload in MONI.

Regards,

Raj

Former Member
0 Kudos

Hi Raj,

Same was my understanding :(.

Other than the default adapter modules (in receiver JMS channel) I have not used anything else.

Also I see a proper XML file (which can be closed and opened as we do in IE) getting generated in SXMB_MONI and also in Communication Channel monitoring.

However still the end system is complaining that the message is seen in text

Example:

<Message><Name>Pankaj</Name><Id>123456</Id></Message>

Instead of:

<Message>

<Name>Pankaj</Name>

<Id>123456</Id>

</Message>

Thanks,

Pankaj.

aashish_sinha
Active Contributor
0 Kudos

Hi,

Look out in RWB and Communication Channel monitoring that the receiver JMS is receiving correct message as XML format.

Regards

Aashish Sinha

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Pankaj,

MQ accepts text and xml messages, ask your mq team to change the settings.

Regards,

raj

Former Member
0 Kudos

Hi,

I will check with the SonicMQ team to change settings on their part.

Thanks

Pankaj.

Answers (0)