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 Java / JMS » Queue Triggering not working

Post new topic  Reply to topic
 Queue Triggering not working « View previous topic :: View next topic » 
Author Message
abanerjee
PostPosted: Mon Mar 18, 2002 9:21 pm    Post subject: Reply with quote

Guest




Hi!,

I working on MQSeries Java/Windows NT ver 5.2.
I want to test queue triggering on NT platform with back end program as java.

i.e. A program puts a message on a queue. The moment the message is there, the back end java program should run and print something on the console.

I di following :

The Queue Manager, queue are created and working fine (without Trigger)
I defined a Process inthe queue and, make the Trigger ON and TrigType =Every, Depth = 1.
I created a Process and in ApplType = Windows NT, ApplID = c:test.bat

Here the test.bat contains following lines

javac TestApp.java
java TestApp
pause

That is my moto is the moment a message is there on the queue, this batch file should be executed and on command prompt I can see the o/p.

All the MQ Objects (queues, Process, ...) are created using MQ Explorer.

So If u can please help me as after this successful testing on NT only I can move to AS400. So if u can give any suggessions where I am wrong...

Thanx
Back to top
mqonnet
PostPosted: Thu Mar 21, 2002 12:40 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Is your Trigger monitor running. One of the rules for triggering is that your initiation queue must be opened by the trigger monitor.

Take a look at "Conditions for a trigger event", chapter 14, Application programming guide.

If that does not resolve the problem. Need more info to figure out what's wrong. What happens when you put a message. You said it does not trigger. Is the message lying on the Xmitq. If the trigger mon is running, but still you dont see your batch file invoked, check to see if you have appropriate process definitions set up. If the message is going to DLQ, check to see the reason code for further investigation.

In short, you should take a look at the above book to establish a proper DQM.
Hope this helps.

Cheers.
Kumar

_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Queue Triggering 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.