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 » trigger is not working

Post new topic  Reply to topic
 trigger is not working « View previous topic :: View next topic » 
Author Message
akm.mohan
PostPosted: Wed Dec 03, 2008 3:16 pm    Post subject: trigger is not working Reply with quote

Apprentice

Joined: 07 Oct 2008
Posts: 41

Hi all,

100 msgs in the local queue, so i have setup the trigger properties like on, first trigger depth 1 process definition and intiation queue but still i am able to see all the messages in that queue. so could you please help me to figure out this problem.

Thanks,
Mohan,
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Dec 03, 2008 3:39 pm    Post subject: Re: trigger is not working Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

akm.mohan wrote:
Hi all,

100 msgs in the local queue, so i have setup the trigger properties like on, first trigger depth 1 process definition and intiation queue but still i am able to see all the messages in that queue. so could you please help me to figure out this problem.

Thanks,
Mohan,

Do you have a trigger monitor running?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
masteringmq
PostPosted: Wed Dec 03, 2008 5:14 pm    Post subject: Reply with quote

Master

Joined: 20 Oct 2008
Posts: 200

runmqtrm -m <QueueManager> -q <InitiationQueue>
Back to top
View user's profile Send private message
zlj
PostPosted: Wed Dec 03, 2008 6:09 pm    Post subject: Reply with quote

Apprentice

Joined: 13 Nov 2008
Posts: 32

Set trigger type to "depth", trigger depth to 1?
Ensure you have trigger data and initQ already, if your initQ is not System.ChANNEL.INITQ, you need a monitor for initQ!

Regards!
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Dec 04, 2008 12:44 am    Post subject: Re: trigger is not working Reply with quote

Grand High Poobah

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

akm.mohan wrote:
could you please help me to figure out this problem.


If you have 100 messages in a queue setting a trigger to fire when the first one shows up is futile - the first message showed up 99 messages ago and you missed it.

Please read the documentation on triggering. And think about what you're doing. Not necessarially in that order.


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
zlj
PostPosted: Thu Dec 04, 2008 1:02 am    Post subject: Re: trigger is not working Reply with quote

Apprentice

Joined: 13 Nov 2008
Posts: 32

Vitor wrote:
akm.mohan wrote:
could you please help me to figure out this problem.


If you have 100 messages in a queue setting a trigger to fire when the first one shows up is futile - the first message showed up 99 messages ago and you missed it.

Please read the documentation on triggering. And think about what you're doing. Not necessarially in that order.



I need the documentation, give me some trail.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Dec 04, 2008 1:07 am    Post subject: Re: trigger is not working Reply with quote

Grand High Poobah

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

zlj wrote:
I need the documentation, give me some trail.


Link at the top of this page.

"Starting applications using triggering"


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jlc
PostPosted: Thu Dec 04, 2008 3:32 am    Post subject: Reply with quote

Novice

Joined: 27 Nov 2008
Posts: 10

Question, if you run the application that you triggering manually, do you see the messages getting processed (do they disapear from the queue)? Here I'm trying to make sure that your application is running fine before moving forward troubleshooting any MQ stuff.
Back to top
View user's profile Send private message
exerk
PostPosted: Thu Dec 04, 2008 6:27 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

jlc wrote:
Question, if you run the application that you triggering manually, do you see the messages getting processed (do they disapear from the queue)?...


Yes...provided the manual start provides the queue manager name and queue name for the application - I'm assuming you have followed best practice here and coded the application to be started either by triggering, or by command line.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Dec 04, 2008 7:13 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9472
Location: US: west coast, almost. Otherwise, enroute.

Quote:
I need the documentation, give me some trail.

WMQ Application Programming Guide and WMQ Application Programming Reference.

I'd suggest trigtype(first). With trigtype(depth), the qmgr turns triggering off for this queue (as documented in the above manuals) once the trigger fires. Trigtype(depth) requires that the application (or sysadmin) to turn triggering back on.

It would help if you would copy/paste your definitions here.
1) tirggered qlocal definition
2) Process definition
3) initiation queue definition
and
4) your c: or $ prompt interaction when you start the trigger monitor.
5) your c: or $ prompt interaction when you put message(s) to the queue
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » trigger is not working
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.