Author |
Message
|
kash3338 |
Posted: Thu Jun 03, 2010 8:15 am Post subject: Triggering java app from MQ queue |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
Hi,
I need to trigger a java program/application when a message comes to a queue. How do i acheive this?
I have gone through the concept of MQ Triggering, but what this does is, it triggers a message into the Initiation Queue when i set Trigger in a queue. But i need to run a java program when a message comes to a particular queue?
Any ideas/suggestions welcome. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Jun 03, 2010 8:18 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
kash3338 |
Posted: Thu Jun 03, 2010 8:21 am Post subject: |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
wschutz wrote: |
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp
then search for "trigger" |
As i have said, i have gone through the concept of "Triggering". It just triggers a message into an "Initiation" queue, but i need to run a java app/program when a message arrives in the queue. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Jun 03, 2010 8:26 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
kash3338 wrote: |
As i have said, i have gone through the concept of "Triggering". It just triggers a message into an "Initiation" queue, but i need to run a java app/program when a message arrives in the queue. |
Innaresting.... try searching for "trigger monitor" then... _________________ -wayne |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jun 03, 2010 8:50 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
kash3338 wrote: |
As i have said, i have gone through the concept of "Triggering". It just triggers a message into an "Initiation" queue, but i need to run a java app/program when a message arrives in the queue. |
So you've gone through the concept of triggering and that's all you've got? At least one pre-condition for a trigger message being generated (i.e. the initiation queue being open for input) should have given you a clue. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Jun 03, 2010 9:11 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
|