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 » Search

 Search found 12 matches
Author Message
  Topic: Check whether queues are empty?
koen.jans

Replies: 31
Views: 18794

PostForum: IBM MQ Java / JMS   Posted: Wed Oct 17, 2007 11:09 pm   Subject: Check whether queues are empty?

To me that's a bit wishy-washy. I would prefer the consuming apps to positivily confirm, i.e. push, the notification that they are done. Will they know when they have processed the last logical mess ...
  Topic: Check whether queues are empty?
koen.jans

Replies: 31
Views: 18794

PostForum: IBM MQ Java / JMS   Posted: Wed Oct 17, 2007 6:54 am   Subject: Check whether queues are empty?

But if all 3 queues are empty, how do you know something's not chewing on the last message that arrived on queue n, and will any moment write another message out?


Good point.
I'll try to come ...
  Topic: Check whether queues are empty?
koen.jans

Replies: 31
Views: 18794

PostForum: IBM MQ Java / JMS   Posted: Wed Oct 17, 2007 6:42 am   Subject: Check whether queues are empty?
And checking on qdepth will have exactly the same problem.

Hmm, i can do a check then that ALL queues 1, 2 AND 3 are empty, so that's not the same problem (i think?)
  Topic: Check whether queues are empty?
koen.jans

Replies: 31
Views: 18794

PostForum: IBM MQ Java / JMS   Posted: Wed Oct 17, 2007 5:07 am   Subject: Check whether queues are empty?
Set the stop messages to a lower priority than the rest of the messages.

This is also not correct, for instance:


1: M1 M2 M3 M4 STOP
2: M5 STOP


Suppose M4 sends a message M6 to ...
  Topic: Check whether queues are empty?
koen.jans

Replies: 31
Views: 18794

PostForum: IBM MQ Java / JMS   Posted: Wed Oct 17, 2007 4:54 am   Subject: Check whether queues are empty?

This solution will not work since messages on internal queues 1,2,3 might post messages to internal queues 1,2,3.

because of this, whatever you come up with, it will 'hold' one day an no one .
...
  Topic: Check whether queues are empty?
koen.jans

Replies: 31
Views: 18794

PostForum: IBM MQ Java / JMS   Posted: Wed Oct 17, 2007 3:50 am   Subject: Check whether queues are empty?
This is what I would do.

Propagate a version of the "stop processing" message to each of the internal queues.

As each MDB receives that "stop processing" message, it tells ...
  Topic: Check whether queues are empty?
koen.jans

Replies: 31
Views: 18794

PostForum: IBM MQ Java / JMS   Posted: Wed Oct 17, 2007 2:49 am   Subject: Check whether queues are empty?
In case of a stop processing message you can always use a pcf message to enquire about qdepth and wait until the internal queues all report 0.

This was my first idea too. But I if have no idea how ...
  Topic: Check whether queues are empty?
koen.jans

Replies: 31
Views: 18794

PostForum: IBM MQ Java / JMS   Posted: Wed Oct 17, 2007 12:41 am   Subject: Check whether queues are empty?
need I say more this is a bad design

I see no other solution here. If the external application can only make changes to their master data when all processing in my application is stopped/d ...
  Topic: Check whether queues are empty?
koen.jans

Replies: 31
Views: 18794

PostForum: IBM MQ Java / JMS   Posted: Wed Oct 17, 2007 12:22 am   Subject: Check whether queues are empty?
is the external app connected through a client connection or MQ Server-Server?

It's server-server.

Do you actually stop the listener itself or the channel or does your application stop reading f ...
  Topic: Check whether queues are empty?
koen.jans

Replies: 31
Views: 18794

PostForum: IBM MQ Java / JMS   Posted: Wed Oct 17, 2007 12:19 am   Subject: Check whether queues are empty?
So it would seem that all you need to do is either get each of the applications processing queues 1, 2 and 3 to signal that they're out of messages, or employ some kind of monitoring layer to determin ...
  Topic: Check whether queues are empty?
koen.jans

Replies: 31
Views: 18794

PostForum: IBM MQ Java / JMS   Posted: Wed Oct 17, 2007 12:07 am   Subject: Check whether queues are empty?
Well,

The application keeps receiving messages from the external app on queue A. the processing of these messages uses internal queues 1, 2, 3.

At some point, the external app sends a message li ...
  Topic: Check whether queues are empty?
koen.jans

Replies: 31
Views: 18794

PostForum: IBM MQ Java / JMS   Posted: Tue Oct 16, 2007 11:47 pm   Subject: Check whether queues are empty?
Hello,

i'm facing this problem:
i'm running an application which receives messages from an external application on a queue and processes these messages, hereby using some internal queues.

Now, ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.