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 » General Discussion » Message size....... unique problem

Post new topic  Reply to topic
 Message size....... unique problem « View previous topic :: View next topic » 
Author Message
Ajju.
PostPosted: Fri Aug 16, 2002 11:23 am    Post subject: Message size....... unique problem Reply with quote

Voyager

Joined: 26 Jul 2002
Posts: 77

Hi I am using MQseries 60days evaluation version for some prototyping.

now i am having message size problem .

first if i try to put message manualy using MQseries API exerciser i am unable to put the message more than 30K bytes and can receive exactly 30kb message.


second if i put a message using java program then the get message size is something around 40K byte.

now i am wondering when my Q setting is default for the Q for max message size equals to @4 million Bytes still i am unable to put message of size aroung 80kb.


is this issue with the 60days evaluation copy of MQseries or i need to take some extra setting care while programming ..... by the way i am programming in javaAPI for MQseries.


Ajit.
Back to top
View user's profile Send private message
bduncan
PostPosted: Sun Aug 18, 2002 5:32 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Ajit,
When you say "i am unable to put the message" what does this mean? When you issue the MQPUT, what is the CompCode and Reason returned? Is there anything being written in the MQ logs, etc? Without knowing the exact error message you are getting it will be impossible to diagnose this...
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
jc_squire
PostPosted: Sun Aug 18, 2002 6:37 pm    Post subject: Reply with quote

Centurion

Joined: 14 Apr 2002
Posts: 105
Location: New Zealand

This is probably the buffer limit of the API exerciser and don't think you can change it. As Brandon mentioned, the return codes will clarify what the problem is.

Regards
_________________
J C Squire
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message
Ajju.
PostPosted: Mon Aug 19, 2002 5:56 am    Post subject: Reply with quote

Voyager

Joined: 26 Jul 2002
Posts: 77

Thanks for your respone !!

Unable to put message does not means that PUT returns some error code.

what i wanted to convey is that i can put the message successfuly on the Q but the message gets truncated even if the Mesage buffer size is default set to the Q max message length.(i.e 4194304 bytes) and the PMO is all default.

My message size is more than 30KB and when i GET message back from the Q I get only 30KB message ... rest is truncated.


Ajit.
Back to top
View user's profile Send private message
jc_squire
PostPosted: Mon Aug 19, 2002 4:13 pm    Post subject: Reply with quote

Centurion

Joined: 14 Apr 2002
Posts: 105
Location: New Zealand

An application normaly has a buffer size set internally in the code which is not neccessarily the same as the Q max msg length. These are two separate issues. Depending on the programming logic, applications can behave differently when they try to process a msg larger than the buffer size - the MQ API exerciser obviously truncates the data.

Regards
_________________
J C Squire
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message
Ajju.
PostPosted: Tue Aug 20, 2002 8:08 am    Post subject: Reply with quote

Voyager

Joined: 26 Jul 2002
Posts: 77

Got through it !!....... it was my setting problem


Thanks,
Ajit.
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 » General Discussion » Message size....... unique problem
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.