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 » Triggering is not taking the text message

Post new topic  Reply to topic
 Triggering is not taking the text message « View previous topic :: View next topic » 
Author Message
Naved
PostPosted: Fri Apr 23, 2004 2:23 am    Post subject: Triggering is not taking the text message Reply with quote

Newbie

Joined: 23 Apr 2004
Posts: 2

Hi,
I'm creating a triggerd program for Application which will open the Textpad on Windows NT.

I've created Application queue, Initialisation queue and process definition.
After that I've started the Trigger Monitor.

Trigger Monitor is giving the message : "Waiting for a trigger message"

As soon as I'm giving text message to the queue using Windows MQ Explorer

Trigger Monitor is giving an message : "Not a valid trigger message"

And Triggering is not being done but the message is taken by the Trigger Monitor


Code id given below :
-----------------------------------------------------------------------------------

runmqsc


DEFINE QLOCAL (application.queue) REPLACE +
LIKE (SYSTEM.DEFAULT.LOCAL.QUEUE) +
DESCR ('Application queue to test triggering') +
INITQ ('initiation.queue') +
PROCESS ('process.name') +
TRIGGER +
TRIGTYPE (FIRST)


DEFINE QLOCAL (initiation.queue) REPLACE +
LIKE (SYSTEM.DEFAULT.LOCAL.QUEUE) +
DESCR ('Initiation queue to test triggering')



DEFINE PROCESS (process.name) +
REPLACE +
DESCR ('Process to test triggering') +
APPLTYPE (WINDOWSNT) +
APPLICID ('C:\TextPad.exe')



runmqtrm -m QM_phoenix6 -q initiation.queue
---------------------------------------------------------------------------------

Can somebody help me out
Regards,
Naved
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Apr 23, 2004 2:51 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://www.mqseries.net/phpBB2/viewtopic.php?t=12988

In addition, what ELSE is the trigger monitor telling you?

Is TextPad.exe really located at the root of the C drive?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mqonnet
PostPosted: Fri Apr 23, 2004 5:15 am    Post subject: Reply with quote

Grand Master

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

I would BET you are putting message directly onto the initiation queue instead of the application queue. :)

Cheers
Kumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Naved
PostPosted: Fri Apr 23, 2004 9:14 pm    Post subject: Its working now but still 've a doubt Reply with quote

Newbie

Joined: 23 Apr 2004
Posts: 2

Hi,

My Trigger Program is working properly now.
Thank you very much jefflowrey and Kumar for your kind help.
I followed the steps you suggested and also I replaced the names of Queues to capital as Windows MQ Explorer was showing me the names in Capital letters.

But there is again one doubt "Is the MQ Series case sensitive"

Regards,

Naved
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sat Apr 24, 2004 3:21 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There's no doubt.

MQSeries *is* case sensitive.
_________________
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 IBM MQ Support » Triggering is not taking the text 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.