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 Discussion » Query regarding Trigger message

Post new topic  Reply to topic
 Query regarding Trigger message « View previous topic :: View next topic » 
Author Message
chaitu_bca
PostPosted: Mon Jun 07, 2004 6:32 am    Post subject: Query regarding Trigger message Reply with quote

Novice

Joined: 05 Apr 2004
Posts: 20

In the case of trigger type First when is the trigger message removed from the initiation queue.

a) As soon as the application is called

OR

b) After the application completes execution.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jun 07, 2004 6:34 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It depends, probably, on the trigger monitor you are using.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
chaitu_bca
PostPosted: Mon Jun 07, 2004 6:39 am    Post subject: please explain Reply with quote

Novice

Joined: 05 Apr 2004
Posts: 20

Can you please explain more about it. Like if we run the trigger monitor normally as runmqtrm -m QMGR -q INITIQ
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jun 07, 2004 6:57 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I can explain, certainly.

Can you tell me the reason you are asking? This isn't the kind of detail that one normally worries about.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
chaitu_bca
PostPosted: Mon Jun 07, 2004 7:32 am    Post subject: Reply with quote

Novice

Joined: 05 Apr 2004
Posts: 20

I am sorry i should have explained the situation earlier, I have 2 queues which are triggered for first. Both call the same program when fired. when the first queue is triggered the application gets fired and runs successfully. Problem starts when the second queue fires. on the second Queue Due to a logical error the program hangs before it exits .After the program hangs the first queue stops processing messages and i noticed that some of the trigger messages are written to the dead letter queue. I am not able to clearly understand why the trigger messages related to the first queue are written to the dead letter queue instead of the normal initiation queue.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jun 07, 2004 7:40 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The trigger messages on the DLQ should have a Dead Letter Header on them. This will tell you the Dead Letter Reason code for the message being put on the DLQ - and may (just may) tell you why the trigger event couldn't be processed.

One possibility is if the two programs share resources - and the program that hangs up is locking those resources.

Some things to think about: http://www.mqseries.net/phpBB2/viewtopic.php?t=12988

You should definitely consider changing the process definitions for these two programs so that they are started as new tasks rather than having the trigger monitor wait for each of them to complete before it starts another triggered program.
_________________
I am *not* the model of the modern major general.
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 Discussion » Query regarding Trigger message
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.