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 » Check if queue is empty

Post new topic  Reply to topic Goto page Previous  1, 2
 Check if queue is empty « View previous topic :: View next topic » 
Author Message
Vitor
PostPosted: Fri Dec 08, 2006 6:11 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

kevinf2349 wrote:
Quote:
Still trying to get my head round routing by queue depth though...


Maybe it is for workload management/balancing?


Easier and better ways than a flow reading queue depths surely?

("Yes there are. And don't call me Shirley")
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Fri Dec 08, 2006 6:12 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Quote:
Easier and better ways than a flow reading queue depths surely?


....and more accurate.

Wayne

ROTFLMAO
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Dec 08, 2006 6:13 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

wschutz wrote:
jefflowrey wrote:
It's not that hard to search for.
http://www.mqseries.net/phpBB2/viewtopic.php?t=23254
not that hard for a "Grand Poobah"...


Search for "ESQL PCF", check "all words". It gives back about ten hits.

Look for the result that's "long".
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mvarghese
PostPosted: Thu Dec 28, 2006 6:10 pm    Post subject: Qdepth calculation from Message Broker Reply with quote

Centurion

Joined: 27 Sep 2006
Posts: 141

I just asked, becos if that functionality is there...am not only talking abt Qdepth..am looking at any MQ objects , there any status if can do from message broker.Then so many things we can do.
Case1:If Q is full..Don't route to that Queue
Case2:If If Channel is down..or any mq status is down..i can develop a flow which will trigger some application ...which help MQ Administarator.

Altogether ...If am using Message broker..i can do a routine health check of MQ using Message broker flows.No need to depend up on third part tools..or we can reduce the dependencies of 3rd party tools for monitoring MQ Admin level.<atleast 50%>
_________________
Jain Varghese
Back to top
View user's profile Send private message
pathipati
PostPosted: Thu Dec 28, 2006 6:19 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

Quote:
Case1:If Q is full..Don't route to that Queue


For this you need both Current and Max Depths.
Back to top
View user's profile Send private message Yahoo Messenger
mvarghese
PostPosted: Thu Dec 28, 2006 8:35 pm    Post subject: Reply with quote

Centurion

Joined: 27 Sep 2006
Posts: 141

Yes, what i mean Is any MQ commands can execute from the Message broker using flows and get the results and route message based on that ..?
May be too heavy work..by implementing Java node...and do all the activity..
becos what i feel was...MQ and MB is more robust than any third party tools...
_________________
Jain Varghese
Back to top
View user's profile Send private message
pathipati
PostPosted: Thu Dec 28, 2006 8:41 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

Quote:
what i mean Is any MQ commands can execute from the Message broker using flows and get the results and route message based on that ..?
No(I guess).
Quote:
May be too heavy work..by implementing Java node...and do all the activity..
Yes, if you really want to route the message based on queue depth.
Back to top
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Thu Dec 28, 2006 11:48 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mvarghese wrote:
MQ and MB is more robust than any third party tools...


There are a number of vendors with hurt feelings out there I suspect!

IMHO you're trying to reinvent the wheel here. Certainly you could issue PCF commands from a flow, but I'd question the wisdom of routing messages based on the response. Better to have the flow doing what the flow does & use other methods to keep the infrastructure running (clustering / monitoring / etc / etc). A queue full should prompt the question "why?" rather than "where?", because something has stopped reading it and that needs to be investigated.

My 2 cents.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mvarghese
PostPosted: Fri Dec 29, 2006 1:04 am    Post subject: Reply with quote

Centurion

Joined: 27 Sep 2006
Posts: 141

Thanks Vitor
_________________
Jain Varghese
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ API Support » Check if queue is empty
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.