|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Define Process |
« View previous topic :: View next topic » |
Author |
Message
|
Jauretche |
Posted: Fri Oct 06, 2006 7:26 am Post subject: Define Process |
|
|
Newbie
Joined: 06 Oct 2006 Posts: 2
|
Hello, I need to define a Process (to trigger) that executes a .EXE whenever a message arrives at a tail.
Somebody can say to me since this becomes? or to pass some Link to me that explains it?
thank you very much
Jauretche |
|
Back to top |
|
 |
kevinf2349 |
Posted: Fri Oct 06, 2006 8:20 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Where have you looked?
Have you looked in MQSeries MQSC Command reference? |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Oct 06, 2006 9:22 am Post subject: |
|
|
Guest
|
Briefly: here's the scenario: the application queue where the message arrives needs to have several attributes set, namely:
PROCESS(yourprocessname)
TRIGGER
TRIGTYPE(FIRST or EVERY or DEPTH)
INITQ(yourinitiationqueue)
other objects needed:
DEFINE PROCESS(yourprocessname)
APPLICID(path/programname.exe)
APPLTYPE(windows)
DEFINE QL(yourinitiationqueue)
you need to start a long-running trigger monitor. MQ provides runmqtrm
runmqtrm -m qmgrname -q yourinitiationqueue
Read about triggering in the system admin guide, in the Application Programming Guide.
When an application message arrives in a triggered queue, the qmgr recognizes the trigger has fired, looks in the process to identify the program to start, places a trigger message (with program to start and application queue name) in the initiation queue. The trigger monitor app starts the program and tells it what queue caused the trigger to fire. |
|
Back to top |
|
 |
Jauretche |
Posted: Fri Oct 06, 2006 12:16 pm Post subject: |
|
|
Newbie
Joined: 06 Oct 2006 Posts: 2
|
Trank you Bruce,
I am going to prove what you say to me, and any thing I comment to you. Greetings and pardon by my English that is quite precarious.
Gracias y saludos
Jauretche |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Oct 06, 2006 1:32 pm Post subject: |
|
|
Guest
|
...and as kevinf2349 suggested: read the MQSeries MQSC Command reference for details on the objects and attributes.
Donde es? |
|
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
|
|
|
|