|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Trigerring behaves sequentially |
« View previous topic :: View next topic » |
Author |
Message
|
mqs_guy |
Posted: Wed Feb 04, 2004 3:26 pm Post subject: Trigerring behaves sequentially |
|
|
Acolyte
Joined: 09 May 2002 Posts: 71
|
Hi,
I have a trigger defined on a queue, that invokes a application(process), the moment a message falls to the queue. Problem is, if the application takes X amt of time to do processing, there is a delay of time X, before it picks the second message off the queue. Meaning.. the processing is sequential/linear and the control is returned to the trigger monitor only after the application is finished.
Is there a way, to have multiple instances of application running or getting triggered off so that the processing time is reduced.
Thanks & Regards,
Vishal Agrawal |
|
Back to top |
|
 |
vennela |
Posted: Wed Feb 04, 2004 3:35 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I don't think MQ can spawn multiple copies of your application. You should code your application in that way. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Wed Feb 04, 2004 8:15 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
I do this all the time on Unix and Windows NT/2000.
On Unix, I use nohup and '&' parameters for the commands. The most important thing to remember is that your program should not lock a resource that would be used in each running instance.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|