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 IBM MQ Support » Multiple MQ Triggering

Post new topic  Reply to topic
 Multiple MQ Triggering « View previous topic :: View next topic » 
Author Message
viswasg
PostPosted: Tue Jan 20, 2004 2:04 am    Post subject: Multiple MQ Triggering Reply with quote

Novice

Joined: 15 Oct 2003
Posts: 10

Hi,

I have a triggered queue which has a initiation queue and is responsible for starting a application.

The trigger is set for FIRST. Hence I expect only one instance of an application running for the FIRST message that has arrived. But I see mulitiple instances of the application running, though not equal to the number of messages actually delivered to the queue.

Can anybody tell me in what kind of situations this can happen.

Can there be something wrong with the application thats kicked off or the MQSetup????I am very sure that the trigger is set to FIRST.

Please HELP!!!!!

Thanks in advance

Viswas
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Tue Jan 20, 2004 7:48 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

Trigger on FIRST means when the message count goes from 0 -> 1. Therefore, your program is started, it connects, opens the queue and gets the message. Now the queue depth is 0.

Do you close the queue but leave your application running? When the next message is put in the queue (depth 0 -> 1), the queue manager checks the IPPROCS and if it is 0 then queue manager starts your application. Hence, you could end up with many running instances of your application.

Another possibility is do you have the same program triggering from more than 1 queue?

Lastly, double check whether the queue is setup to trigger FIRST or EVERY.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
bob_buxton
PostPosted: Wed Jan 21, 2004 6:32 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

What environment are you running?

There are some circumstances with a shared queue on z series for multiple trigger messages to be generated. These are explaine in the MQ APG.
_________________
Bob Buxton
Ex-Websphere MQ Development
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 IBM MQ Support » Multiple MQ Triggering
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.