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 » MQClient Message counts increase with no traffic

Post new topic  Reply to topic
 MQClient Message counts increase with no traffic « View previous topic :: View next topic » 
Author Message
noles321
PostPosted: Mon May 09, 2005 11:17 am    Post subject: MQClient Message counts increase with no traffic Reply with quote

Apprentice

Joined: 15 Nov 2004
Posts: 43

We have an application with 200 mqclients which are windows server that connect to a queue on an AIX queue manager. They continually poll the queue for messages... I notice that the message counts on the mqclient channel continually grow even when there is no traffic going to the application queue. Why is this? Do the MQGETS that travel across this SVRCONN channel get counted as a message? Thanks...

Jeramy
Back to top
View user's profile Send private message Send e-mail AIM Address
vennela
PostPosted: Mon May 09, 2005 12:59 pm    Post subject: Reply with quote

Jedi Knight

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

Quote:
Do the MQGETS that travel across this SVRCONN channel get counted as a message? Thanks...


So you are saying that only MQPUTs should be counted and not MQGETS? Is that what you are asking?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PeterPotkay
PostPosted: Mon May 09, 2005 1:59 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Any MQ API call over a MQI channel counts as 2 "messages". One "message" for the request to execute the API call, and another "message" for the result of the APi call be sent back to the MQClient.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
SoHumble
PostPosted: Tue May 10, 2005 8:06 am    Post subject: MQClient Message Counts Reply with quote

Newbie

Joined: 10 May 2005
Posts: 3
Location: New Jersey, USA

Hi Peter, very interesting.. -- so what do these "API Call messages" look like?
do they have an MQMD?
do they have data content?
are they binary or character encoded?
has IBM published a content / format for them in one of the manuals? when I "MQGet" them, can I store them some where, then "Put" them to another queue perhaps?
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue May 10, 2005 8:10 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Not published, but if you go to the Software Repository on this site, and download the SSL Tutorial, it includes a port sniffer. Set it up, and run MQ a Client channel thru it. You can see exactly what your channel is doing when its doing "nothing"!

If you set it up on a port where a SNDR/RCVR channel is going, you can see neat stuff like the talking the channels do at start up, or shutdown, or end of batch. While there are no MQ app messages going, you can see the Heartbeats flow.



_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
SoHumble
PostPosted: Tue May 10, 2005 8:20 am    Post subject: MQClient Message Counts -- Contd. Reply with quote

Newbie

Joined: 10 May 2005
Posts: 3
Location: New Jersey, USA

Hi Peter -- even more helpful....

OK -- so in my App, I won't be able to "see" these messages at all (I will just get a 2033), and I won't be able to retrieve them, and they don't have a MQMD, and they don't have any "application data"?

Is there any possible way to make these messages "visible" to my app. using the MQI?

If I was doing "MQGet" against a Local Queue over a SVRCONN, do you think I would be able to "see" these messages in a SNDEXIT or RCVEXIT?

Would the ENQ / DEQ Count for the queue go up at least?
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue May 10, 2005 8:33 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

"OK -- so in my App, I won't be able to "see" these messages at all (I will just get a 2033), and I won't be able to retrieve them, and they don't have a MQMD, and they don't have any "application data"? "

Right, your app should be oblivious to these "messages". They are not messages. They are collections of bytes that are used by MQ to do its thang, and only occasionally will encompass a real application message payload.

Its confusing that the channel counts and reports these bundles of MQ system info as "messages".

"Is there any possible way to make these messages "visible" to my app. using the MQI? "
No.

"If I was doing "MQGet" against a Local Queue over a SVRCONN, do you think I would be able to "see" these messages in a SNDEXIT or RCVEXIT? "
Dunno. I would guess no.

"Would the ENQ / DEQ Count for the queue go up at least?"
No, and it shouldn't.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
SoHumble
PostPosted: Tue May 10, 2005 9:20 am    Post subject: Reply with quote

Newbie

Joined: 10 May 2005
Posts: 3
Location: New Jersey, USA

heartfelt thanks for your time and knowledge, Peter.
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 » MQClient Message counts increase with no traffic
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.