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 » limitation on readUTF

Post new topic  Reply to topic
 limitation on readUTF « View previous topic :: View next topic » 
Author Message
madhuri
PostPosted: Mon Oct 27, 2003 9:50 pm    Post subject: limitation on readUTF Reply with quote

Newbie

Joined: 27 Oct 2003
Posts: 1

hi,
I have few doubts reagrding readUTF and readString methods.
when should we use readString and readUTF method
what is the maximum limit of readUTF method supports

regards,
madhuri
Back to top
View user's profile Send private message
ArvindC
PostPosted: Tue Oct 28, 2003 3:23 am    Post subject: Reply with quote

Novice

Joined: 25 Dec 2002
Posts: 14
Location: India

Madhuri,

You should use the readUTF method when you know that the message data is in UTF format i.e. with CCSID 1208, otherwise, if the message is a text message you can use the readString method. There is no limitation on the length of the message for both the methods except that the readString will read the number of characters specified in the parameter while readUTF will read the whole message.

-Arvind.
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 » limitation on readUTF
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.