Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MQSeries-Triggering

Status
Not open for further replies.

ssit

Programmer
Nov 6, 2000
6
IN
I have problem in Triggering.I will explain what I have done.
I created a queue manger called "mymanger".I created a queue
called "myqueue" under this manager.In the properties of this local queue I made the trigger to be "on" ,type-"First",priorty-1,depth-2.I specified the process name which I created under process defnitions.In the process definiton,I have given the appid as "c:\winnt\notepad.exe".
In the local queue called "myqueue" it is asking the initiation queue name.What I have done is I created a local queue called "initqueue" and I have given this name there.
In the process deniniton It is asking the environement data and user data.What I have to give there if am running under
WinNT4.0.In Services explorer,I created a trigger monitor.

I put a message in the design time in to the queue.While I browsed the queue,I cannt see the message and it is neither triggering anything nor showing any errors.
Plz anyone help me ...
 
As I mentioned before, you can't trigger notepad.exe - it's not an MQSeries-enabled application. How do you expect notepad.exe to read your messages from the queue? Whatever you specify in the "Application Identifier" field of your process definition must be an MQSeries-enabled application.

You also might want to check your dead letter queue (SYSTEM.DEAD.LETTER.QUEUE) for the messages.

Also, if you're using 'FIRST' as your trigger, you don't specify a depth or priority in the queue definition. The depth should default to 1, and the priority should default to 0.

Don't put anything in the environment data or user data. Open MQSeries Services, and create a trigger monitor service and configure it to monitor your initqueue.

Last, try putting a test message into the queue using MQSeries Explorer.

Cheers,

Scott Meridew,
MQ Squared Inc.

 
Could u please explain what exactly do u mean by "MQSeries enabled applications"?
I was able to trigger a simple "Hello World" Java application.So do u mean to say this is a MQSeries enabled application
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top