cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in JMS-Adapter with CharacterSet Websphere MQ

thorsten_hautz
Participant
0 Kudos

Hi,

we have the following scenario:

JMS -> PI -> File

We have a local Websphere MQ Queue Manager and the follwoing configuration in our sender adapter:

Transport-Protocol: WebSphere MQ (non JMS)

Message-Protocol: JMS 1.x

ConnectionFactory: com.ibm.mq.jms.MQQueueConnectionFactory

Java-class Queue: com.ibm.mq.jms.MQQueue

CCSID: 819

Transport: TCP/IP

JMS-conform: WebSphere MQ (non JMS)

In the local queue manager the messages (XML-Messages with header <?xml version="1.0" encoding="ISO-8859-1"?>) have characterSet 819 (ISO-8859-1). That's correct. You can open the files with XMLSpy and it works.

When we receive the messages by our JMS Sender Adapter all the character seems to be in UTF-8 and I don't know why. All the special characters are wrong cause the header of the XML-message shows ISO-8859-1 but all the signs are decoded in UTF-8.

In the other direction (JMS Receiver adapter, File -> PI - JMS) we have the same problem.

We create a ISO-8859-1 message in mapping (and it is really ISO-8859-1) and send it via JMS Receiver Adapter to the local message queue. But there the message arrives in UTF-8 encoding. I don't understand this.

Does anybody know what could be the cause for this?

Does the JMS adapter convert the messages from ISO-8859-1 into UTF-8?

Are there any parameters we have to set?

I hope anybody has an idea what's wrong.

Regards

Thorsten

Edited by: Thorsten Hautz on Oct 12, 2010 5:42 PM

View Entire Topic
Former Member
0 Kudos

You can set the character set ID in JMS channel configuration-

http://help.sap.com/saphelp_nw70/helpdata/EN/c1/739c4186c2a409e10000000a155106/content.htm

Refer ques-6 in SAP note: 1086303

Also refer the note- 1346110