|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Local queue and init queue |
« View previous topic :: View next topic » |
Author |
Message
|
dferroso |
Posted: Fri Jul 18, 2003 5:42 am Post subject: Local queue and init queue |
|
|
 Newbie
Joined: 21 Feb 2003 Posts: 8 Location: Argentina
|
If I have only one queue local, this one can be defined like Init Q? _________________ Cuando te pones en el fuego y aspiras al cielo, esperas dejar atrás contact admin chispas de calor y luz...
Como un rastro de vapor. |
|
Back to top |
|
 |
mqonnet |
Posted: Fri Jul 18, 2003 6:00 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
You can....
But whats the purpose. If you have only one queue and that is defined as an initq then which queue would generate the trigger to send the trigger message to this initq??? What are you trying to achieve.
Cheers
Kumar |
|
Back to top |
|
 |
GMcCarthy |
Posted: Fri Jul 18, 2003 6:08 am Post subject: |
|
|
 Centurion
Joined: 06 Nov 2001 Posts: 113 Location: Melville NY
|
Hopefully, I am understanding your question correctly...
Definition from System Admin Guide:
"Initiation queues are queues that are used in triggering. A queue manager puts a trigger message on an initiation queue when a trigger event occurs. A trigger event is a logical combination of conditions that is detected by a queue manager. For example, a trigger event might be generated when the number of messages on a queue reaches a predefined depth. This event causes the queue manager to put a trigger message on a specified initiation queue. This trigger message is retrieved by a trigger monitor, a special application that monitors an initiation queue. The trigger monitor then starts the application program that was specified in the trigger message.
If a queue manager is to use triggering, at least one initiation queue must be defined for that queue manager. See Managing objects for triggering and runmqtrm (start trigger monitor). For more information about triggering, see the WebSphere MQ Application Programming Guide."
There is no special definition for an initq...it is defined as a qlocal. It's purpose is what makes it different. If you want to trigger an application, a trigger message is put and your application will trigger.
You should define one qlocal for application messages and another (initq) for trigger messages.
Hope this helps. _________________ Regards,
Gina
IBM Certified MQSeries Specialist |
|
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
|
|
|
|