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 API Support » Why I cannot write message > 64Kb using WriteUTF method

Post new topic  Reply to topic
 Why I cannot write message > 64Kb using WriteUTF method « View previous topic :: View next topic » 
Author Message
ECoast
PostPosted: Wed May 31, 2006 4:40 am    Post subject: Why I cannot write message > 64Kb using WriteUTF method Reply with quote

Newbie

Joined: 26 Oct 2005
Posts: 9
Location: Canada

Has anyone experience any problems in creating a message using MQMessage class method WriteUTF(string) when the string is greater than 64Kb. It returns error code 2190, in which indicates MQRC_CONVERTED_STRING_TOO_BIG. Does anyone know how to resolve this? (Using MQ Client v6.0)
Back to top
View user's profile Send private message
vennela
PostPosted: Wed May 31, 2006 7:08 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

What programming language
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ECoast
PostPosted: Wed May 31, 2006 7:12 am    Post subject: Why I cannot write message > 64Kb using WriteUTF method Reply with quote

Newbie

Joined: 26 Oct 2005
Posts: 9
Location: Canada

Language using is C#.

I starting to believe that there is a limitation of 64K. Can anyone vertify.
_________________
ECoast
Back to top
View user's profile Send private message
markt
PostPosted: Wed May 31, 2006 7:42 am    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

Because the "wire" format of UTF, that was implemented by Java in its core classes, contains a 2-byte length field.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 31, 2006 7:49 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So one UTF string for every 64kb.

Or no UTF strings in the first place! Just Unicode.
_________________
I am *not* the model of the modern major general.
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 API Support » Why I cannot write message > 64Kb using WriteUTF method
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.