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 » MaximumMessageLength For a Queue

Post new topic  Reply to topic
 MaximumMessageLength For a Queue « View previous topic :: View next topic » 
Author Message
sywahu
PostPosted: Wed Jul 14, 2004 3:13 am    Post subject: MaximumMessageLength For a Queue Reply with quote

Newbie

Joined: 13 Jul 2004
Posts: 9

Jason has provided some very useful input to this but I created another topic since the problem is a bit different.

In my .NET application;

A - I set the env values
MQEnvironment.Hostname = MQConfiguration.ServerIP
MQEnvironment.Channel = MQConfiguration.ChannelName
MQEnvironment.Port = CInt(MQConfiguration.Port)


B - Create a q manager;
myQ = New MQQueueManager("MyQ")

C - I then check the allowed message length by doing myQ.MaximumMessageLength which always gives me 4MB even though we have set all values to be 100MB.

D - I have used the MQ Explorer to verify that all the elements have the max length set properly and we have got AMQCLCHL.TAB configured as well. We have made sure the env variable MQSERVER is not being used

The guys need proof that its the .NET IBM MQ API that causing the size to be 4MB everytime. See http://www-1.ibm.com/support/docview.wss?uid=swg1IC38370 .

I am now writing the MaximumMessageLength value to a log file. I was going to use this as a test to establish that before CSD07, it was always 4MB and not its whatever the set size is.

Am I going wrong in my approach here?

Sy
Back to top
View user's profile Send private message
JasonE
PostPosted: Wed Jul 14, 2004 3:23 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Hey, its a rush on .net questions today

myQ.MaximumMessageLength should return the value you get by doing an MQINQ on the queue MQIA_MAX_MSG_LENGTH. This should be set by the runmqsc alter ql(Q) maxmsgl(xxxxx) option.

Dont forget maxmsgl is a property of the q, the qmgr and the clntconn and svrconn channel.
Back to top
View user's profile Send private message
sywahu
PostPosted: Wed Jul 14, 2004 3:54 am    Post subject: Reply with quote

Newbie

Joined: 13 Jul 2004
Posts: 9

Sorry about that but I had so many bottled up!!!

And then I found this forum. I really hope I can contribute my experience with ths CSD07 to this forum.

Once I get things working, I will post a concise description of the problem as I am sure there are many having the same problem.

Thanks again.
Sy.
Back to top
View user's profile Send private message
kirani
PostPosted: Wed Jul 14, 2004 11:20 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

JasonE wrote:
Dont forget maxmsgl is a property of the q, the qmgr and the clntconn and svrconn channel.

And also on XMIT queue, Sender and Receiver channels if the data is flowing thru multiple queue managers.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » MaximumMessageLength For a Queue
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.