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 Installation/Configuration Support » Triggering: Init Queue Question

Post new topic  Reply to topic
 Triggering: Init Queue Question « View previous topic :: View next topic » 
Author Message
puvvada
PostPosted: Mon Mar 15, 2004 2:18 pm    Post subject: Triggering: Init Queue Question Reply with quote

Apprentice

Joined: 01 Apr 2002
Posts: 27

Hi,

I am running MQ 5.3 CSD05 on Win 2K.

Here is the Setup

1. Defined a trigger on Q1
trigger -> ON
trigger type -> first
trigger Depth -> 1
Init Queue -> Q2
Process -> P1
2. defined a local queue Q2 for initiation Queue
3. Defined Process name P1
App Type -> Windows Nt
App ID -> app1.exe
4. I created a custom service to start runmqtrm as MQ service
5. I placed some messages on Q1
6. The trigger started and the App. app1.exe started picking up messages.
once app1.exe is started it will keep reading messages until Queue is empty.
7. But I see some messages sitting in the Init Queue Q2, and not getting cleared.
8. Even though there aren't any messages, I can see in the Task manager the App. app1.exe is still runnning.

The Question is why there are messages in the Init Q ?
Is this why my app. keeps running all the time ?
how will the messages in the Init Queue Q2 get cleared ?


Thanks for you help.
Back to top
View user's profile Send private message
kman
PostPosted: Mon Mar 15, 2004 8:33 pm    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2003
Posts: 309
Location: Kuala Lumpur, Malaysia

There are messages in the initq because there was a trigger, and the trigger message is sent to that initq.
Your application is still running maybe due to the wait forever.. or wait on a long time before disconnecting. The trigger message on the initq helps to trigger the app. But the app keep on running maybe because it is in a loop.
The message in the initq got cleared by the trigger monitor.


If everything is working fine.. the messages in the initq should been cleared by the trigger monitor (runmqtrm) and the app is triggered for every trigger message. Your app should be checked if it continues running after no more messages on the queue - don't wait forever, or don't wait too long.
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Triggering: Init Queue Question
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.