Posted: Tue Nov 27, 2007 3:31 pm Post subject: Increasing buffer size
Newbie
Joined: 21 Nov 2007 Posts: 7
Hi,
Iam currenlty sending requests and getting response from mq.But some of messages which are abt 90kb are getting truncated.How do i increase buffer size in .net environment.I guess it is currently taking the default.Thank you.
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
IIRC there's a resize buffer method of the MQMessage object in .NET but AFAIK the buffer resizes itself according to the size of the retrieved message.
Check the .NET manual. _________________ Honesty is the best policy.
Insanity is the best defence.
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
Vitor wrote:
Check the .NET manual.
At no extra charge, I checked and found this:
Quote:
You do not need to specify a maximum message size, because the Get() method
automatically adjusts the size of its internal buffer to fit the incoming message.
Never let it be said I'm not thorough.
(I don't want people to find that out).
_________________ Honesty is the best policy.
Insanity is the best defence.
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