ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Encoding need some help

Post new topic  Reply to topic
 Encoding need some help « View previous topic :: View next topic » 
Author Message
starki78
PostPosted: Mon Dec 01, 2008 7:02 am    Post subject: Encoding need some help Reply with quote

Acolyte

Joined: 24 Sep 2007
Posts: 53

Hi,

my jave client sends a byte message with the following settings:
to MQ:
mBuf.format= MQC.MQFMT_STRING ;
mBuf.characterSet = 500;
mBuf.encoding = 785;


Now I'd like to decode the message using java but I always fail.
It gets written:

 ÞÀPH Î 


What are the correct setting to correctly decode this message?


Cheers
Christian
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Dec 01, 2008 7:23 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Given that my knowledge of Java is slightly worse than my knowledge of the dark side of the Moon (the orbiting body not the album), why is this a byte message not a text message? Following this, why are you trying to convert it in an application rather than using WMQ to convert it?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Encoding need some help
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.