Posted: Wed Jan 07, 2004 4:54 am Post subject: Websphere MQ Triggering
Novice
Joined: 05 Dec 2003 Posts: 11
In MQ when a message arrives on a queue, it's possible to call an exit to
run another program. After the program has completed it is closed, to be
re-opened when a message next arrives on a queue.
However, is it possible to instead have the trigger execute a function in a
program that is already running?
I need to create a program that loads Mercator and a map into memory and
that contains a function that MQ Series can execute repeatedly - I don't
want to stop and start the program every time a new message arrives. _________________ N.Satish
Then you want to write a listener, instead of a triggered process.
A listener loops over a Get with timeout, and never closes.
You should read the Application Programming Guide for discussions of gets with wait, and look in the Application Programming Reference for specifics about making the calls. _________________ I am *not* the model of the modern major general.
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