|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQSeries Java Client - Message Encoding |
« View previous topic :: View next topic » |
Author |
Message
|
binnyms |
Posted: Fri Jan 09, 2004 9:18 pm Post subject: MQSeries Java Client - Message Encoding |
|
|
Novice
Joined: 09 Jan 2004 Posts: 11
|
I am using java client to send message to MQseries. When I send it, the message reaches the MQ but data is not encoded properly in MQ. How i can rectify this problem? |
|
Back to top |
|
 |
EddieA |
Posted: Sat Jan 10, 2004 12:54 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
By:
Quote: |
data is not encoded properly in MQ |
Do you mean the application the GETs the message gets wrongly encoded data.
You need to make sure you have set the Format correctly on the sending application. And the receiving application must do a GET with Convert.
Remember, MQ will *only* convert mesages that are described as MQSTR, and contain only "printable" characters. All other formats will need a conversion exit to be written.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
binnyms |
Posted: Sun Jan 11, 2004 9:23 pm Post subject: error 2110 |
|
|
Novice
Joined: 09 Jan 2004 Posts: 11
|
I am able to send data. But when I try to retrieve it , i am getting error code 2110 with a blank message<> .
Also in the server the message is coming with the text button disabled (only hexa decimal in enabled). How to convert data to MQSTR
Thanks in advance |
|
Back to top |
|
 |
EddieA |
Posted: Sun Jan 11, 2004 9:40 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
MQRC_FORMAT_ERROR (2110)
Possible errors include:
The format name in the message is MQFMT_NONE.
A user-written exit with the name specified by the Format field in the message cannot be found.
The message contains data that is not consistent with the format definition.
|
Make sure you have the Format field filled in correctly, and if it is not MQSTR, then you need a conversion exit.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|