Re: MQSeries Trigger and WinNT
Is the depth of the queue greater than 0 if so no trigger message will be issued until the trigger interval has expired. The following excerpt describes this value. TriggerInterval (MQLONG) Trigger-message interval. This is a time interval (in milliseconds) used to restrict the number of trigger messages. This is relevant only when the TriggerType is MQTT_FIRST. In this case trigger messages are normally generated only when a suitable message arrives on the queue, and the queue was previously empty. Under certain circumstances, however, an additional trigger message can be generated with MQTT_FIRST triggering even if the queue was not empty. These additional trigger messages are not generated more often than every TriggerInterval milliseconds. For more information on triggering, see the WebSphere MQ Application Programming Guide. The value is not less than 0 and not greater than 999 999 999. The default value is 999 999 999. Regards Tim A Benjamin Zhou <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent by: MQSeriescc: List Subject: Re: MQSeries Trigger and WinNT 16/10/2002 11:57 PM Please respond to MQSeries List haben Sie den Trigger Monitor gestartet? cheers, bfz -Original Message- From: Schmidt, Reiner [IRZ-01] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:06 AM To: [EMAIL PROTECTED] Subject: MQSeries Trigger and WinNT Dear Listeners, with the following definitions: DEFINE QLOCAL(VHVT.BN.MQH2S.JDA) REPLACE + DESCR (' ')+ MAXDEPTH (9) + GET (ENABLED) + PUT (ENABLED) + DEFPSIST(YES) + MSGDLVSQ(FIFO) + USAGE(NORMAL)+ TRIGGER + TRIGTYPE(first) + INITQ(SYSTEM.DEFAULT.INITIATION.QUEUE) + PROCESS(PROCESS.CALC) + noshare DEFINEPROCESS('PROCESS.CALC') REPLACE + DESCR ('Message Channel Agent fuer Sender zum Host') + APPLTYPE(WINDOWSNT) + APPLICID('START G:\Kaution\WinKaution.exe') I want the trigger to spring. In my opinion this should work. But in reality it doesn4t. Any idea??. By the way a: trigger for SYSTEM.DEFAULT.INITIATION.QUEUE is started. Thanks in advance Reiner Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: MQSeries Trigger and WinNT
Make sure the IPPROC = 0 (input process count) on VHVT.BN.MQH2S.JDA (triggered queue) and the IPPROC > 0 on SYSTEM.DEFAULT.INITIATION.QUEUE (init queue) when you put the message or the queue manager will not create a trigger message. Thanks, Mark... 585 - 238 - 4502 "Schmidt, Reiner [IRZ-01]"To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>cc: Sent by: MQSeries Subject: MQSeries Trigger and WinNT List 10/16/02 09:05 AM Please respond to MQSeries List Dear Listeners, with the following definitions: DEFINE QLOCAL(VHVT.BN.MQH2S.JDA) REPLACE + DESCR (' ') + MAXDEPTH (9) + GET (ENABLED) + PUT (ENABLED) + DEFPSIST(YES) + MSGDLVSQ(FIFO) + USAGE (NORMAL) + TRIGGER + TRIGTYPE(first) + INITQ(SYSTEM.DEFAULT.INITIATION.QUEUE) + PROCESS(PROCESS.CALC) + noshare DEFINE PROCESS ('PROCESS.CALC') REPLACE + DESCR ('Message Channel Agent fuer Sender zum Host') + APPLTYPE(WINDOWSNT) + APPLICID('START G:\Kaution\WinKaution.exe') I want the trigger to spring. In my opinion this should work. But in reality it doesn´t. Any idea??. By the way a: trigger for SYSTEM.DEFAULT.INITIATION.QUEUE is started. Thanks in advance Reiner Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: MQSeries Trigger and WinNT
Use a trigger monitor started from a command prompt (window) instead of the trigger monitor started from the MQ Services Explorer. Keep the window open as you put a (first) message to the queue. Watch what happens in the command prompt window - frequently there will be error messages.. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: MQSeries Trigger and WinNT
haben Sie den Trigger Monitor gestartet? cheers, bfz -Original Message-From: Schmidt, Reiner [IRZ-01] [mailto:[EMAIL PROTECTED]]Sent: Wednesday, October 16, 2002 9:06 AMTo: [EMAIL PROTECTED]Subject: MQSeries Trigger and WinNT Dear Listeners, with the following definitions: DEFINE QLOCAL(VHVT.BN.MQH2S.JDA) REPLACE + DESCR (' ') + MAXDEPTH (9) + GET (ENABLED) + PUT (ENABLED) + DEFPSIST(YES) + MSGDLVSQ(FIFO) + USAGE (NORMAL) + TRIGGER + TRIGTYPE(first) + INITQ(SYSTEM.DEFAULT.INITIATION.QUEUE) + PROCESS(PROCESS.CALC) + noshare DEFINE PROCESS ('PROCESS.CALC') REPLACE + DESCR ('Message Channel Agent fuer Sender zum Host') + APPLTYPE(WINDOWSNT) + APPLICID('START G:\Kaution\WinKaution.exe') I want the trigger to spring. In my opinion this should work. But in reality it doesn4t. Any idea??. By the way a: trigger for SYSTEM.DEFAULT.INITIATION.QUEUE is started. Thanks in advance Reiner
Re: MQSeries Trigger and WinNT
BTW, even you want trigger first, trigdpth(1) must still be specified. -Original Message-From: Schmidt, Reiner [IRZ-01] [mailto:[EMAIL PROTECTED]]Sent: Wednesday, October 16, 2002 9:06 AMTo: [EMAIL PROTECTED]Subject: MQSeries Trigger and WinNT Dear Listeners, with the following definitions: DEFINE QLOCAL(VHVT.BN.MQH2S.JDA) REPLACE + DESCR (' ') + MAXDEPTH (9) + GET (ENABLED) + PUT (ENABLED) + DEFPSIST(YES) + MSGDLVSQ(FIFO) + USAGE (NORMAL) + TRIGGER + TRIGTYPE(first) + INITQ(SYSTEM.DEFAULT.INITIATION.QUEUE) + PROCESS(PROCESS.CALC) + noshare DEFINE PROCESS ('PROCESS.CALC') REPLACE + DESCR ('Message Channel Agent fuer Sender zum Host') + APPLTYPE(WINDOWSNT) + APPLICID('START G:\Kaution\WinKaution.exe') I want the trigger to spring. In my opinion this should work. But in reality it doesn´t. Any idea??. By the way a: trigger for SYSTEM.DEFAULT.INITIATION.QUEUE is started. Thanks in advance Reiner
Re: MQSeries Trigger and WinNT
Reiner, I found that I needed to set the following attributes for my initiation queue for trigger to work: DEFPSIST(YES) SHARE Restart your trigger monitor after making the changes. I hope this helps! Regards, Bill "Schmidt, Reiner [IRZ-01]"To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>cc: Sent by: MQSeries Subject: MQSeries Trigger and WinNT List 10/16/2002 09:05 AM Please respond to MQSeries List Dear Listeners, with the following definitions: DEFINE QLOCAL(VHVT.BN.MQH2S.JDA) REPLACE + DESCR (' ') + MAXDEPTH (9) + GET (ENABLED) + PUT (ENABLED) + DEFPSIST(YES) + MSGDLVSQ(FIFO) + USAGE (NORMAL) + TRIGGER + TRIGTYPE(first) + INITQ(SYSTEM.DEFAULT.INITIATION.QUEUE) + PROCESS(PROCESS.CALC) + noshare DEFINE PROCESS ('PROCESS.CALC') REPLACE + DESCR ('Message Channel Agent fuer Sender zum Host') + APPLTYPE(WINDOWSNT) + APPLICID('START G:\Kaution\WinKaution.exe') I want the trigger to spring. In my opinion this should work. But in reality it doesn´t. Any idea??. By the way a: trigger for SYSTEM.DEFAULT.INITIATION.QUEUE is started. Thanks in advance Reiner Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
MQSeries Trigger and WinNT
Dear Listeners, with the following definitions: DEFINE QLOCAL(VHVT.BN.MQH2S.JDA) REPLACE + DESCR (' ') + MAXDEPTH (9) + GET (ENABLED) + PUT (ENABLED) + DEFPSIST(YES) + MSGDLVSQ(FIFO) + USAGE (NORMAL) + TRIGGER + TRIGTYPE(first) + INITQ(SYSTEM.DEFAULT.INITIATION.QUEUE) + PROCESS(PROCESS.CALC) + noshare DEFINE PROCESS ('PROCESS.CALC') REPLACE + DESCR ('Message Channel Agent fuer Sender zum Host') + APPLTYPE(WINDOWSNT) + APPLICID('START G:\Kaution\WinKaution.exe') I want the trigger to spring. In my opinion this should work. But in reality it doesn´t. Any idea??. By the way a: trigger for SYSTEM.DEFAULT.INITIATION.QUEUE is started. Thanks in advance Reiner