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 » Websphere MQ Triggering

Post new topic  Reply to topic
 Websphere MQ Triggering « View previous topic :: View next topic » 
Author Message
satishnagarathnam
PostPosted: Wed Jan 07, 2004 4:54 am    Post subject: Websphere MQ Triggering Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
jefflowrey
PostPosted: Wed Jan 07, 2004 5:07 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

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.
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 » Websphere MQ Triggering
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.