But isn't that what a trigger monitor is? That is, runmqdlq retrieves
the trigger message, constructs the command line and uses a system
call to start the application. Why would you need to write your own?
Benjamin Zhou
<[EMAIL PROTECTED]> To: [EMAIL PROTECTED]
Sent by: MQSeries cc:
List Subject: Re: Has anyone used Java/MQ
program launched by the MQ Trigger
<[EMAIL PROTECTED] Mo nitor ?
N.AC.AT>
03/27/2003 10:53
AM
Please respond to
MQSeries List
Because MQ Java doesn't support a Trigger class. it's a pain to
implement triggering directly.
The easist way is to write a tiny C MQ intermediary that retrieves the
trigger msg, construct the command line and then use a system call to
start the java application. There's virtually no delay because C is
much faster, and you can minimize the code.
cheers,
Benjamin Zhou
State Street Corp.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 8:50 AM
To: [EMAIL PROTECTED]
Subject: Has anyone used Java/MQ program launched by the MQ Trigger
Monitor ?
If so, would you care to share some detail about what objects were
used to
accomplished this and any other detail on setting up the MQ Process
Object
?
Thanks !
This communication is for informational purposes only. It is not
intended as
an offer or solicitation for the purchase or sale of any financial
instrument
or as an official confirmation of any transaction. All market prices,
data
and other information are not warranted as to completeness or accuracy
and
are subject to change without notice. Any comments or statements made
herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.
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
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