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 » Determing Queue Depth

Post new topic  Reply to topic
 Determing Queue Depth « View previous topic :: View next topic » 
Author Message
paul0al
PostPosted: Tue Aug 13, 2002 10:31 am    Post subject: Determing Queue Depth Reply with quote

Apprentice

Joined: 30 May 2002
Posts: 26

Does MQPut or any of the APIs return information about the queue depth? I need to write a program that will stop putting messages into a queue when its above a certain depth and start putting messages into the queue when its below a certain threshold.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Tue Aug 13, 2002 10:38 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

you have several options

1) there is an MQINQ call to get depth.
2) There are hi and lo depth events which when the queue hits these
thresholds(QUEUE attributes) it will generate event messages in the
event queue you can write(0r modify the support pac) to disable put's
or enable puts. Your application would need to deal with the disabled
put reason code.
3) There are pcf commands to do the same as 1.

I like number to because it pulls the control code from the buisness logic,
you can adjust the hi/lo paramters without code changes.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Determing Queue Depth
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.