Author |
Message
|
jeevan |
Posted: Tue Aug 22, 2006 8:27 pm Post subject: Is process redundant in triggering? |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
According the intercommunication, it seems that the process definition ( use also) is redudant in triggering.
Quote: |
Define the local queue (Q3), specifying that trigger messages are to be written to
the default initiation queue SYSTEM.CHANNEL.INITQ, to trigger the application
(process P1) that starts channel (QM3.TO.QM4):
|
My genereal understanding( I have not used both in practical field) was that channel triggering is used to trigger the sending channel. the purpose being to save unnecessary use of systems resources when there is not message. But this requires only changes in xmit q as trigger, trigger data ( channel to be triggered) and initq. Why and when comes the process into scene in triggering?
I would appreciate your sharing in this regards,
thanks a lot |
|
Back to top |
|
 |
jeevan |
Posted: Tue Aug 22, 2006 8:32 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
what is the design concept and uses of a process in MQ?
Are the processes definied in src queue manager or in trg qmgr? Are they used to activate some application in destination qmgr which processes the recently arrived msg ? |
|
Back to top |
|
 |
markt |
Posted: Tue Aug 22, 2006 9:50 pm Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
The APG has a whole chapter on triggering. Which bit did you not read or understand? |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Aug 23, 2006 2:42 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jeevan wrote: |
what is the design concept and uses of a process in MQ?
Are the processes definied in src queue manager or in trg qmgr? Are they used to activate some application in destination qmgr which processes the recently arrived msg ? |
Understand that channel triggering and application triggering have evolved apart. You need to look at both as 2 different animals.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
wschutz |
Posted: Wed Aug 23, 2006 3:18 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
fjb_saper wrote: |
jeevan wrote: |
what is the design concept and uses of a process in MQ?
Are the processes definied in src queue manager or in trg qmgr? Are they used to activate some application in destination qmgr which processes the recently arrived msg ? |
Understand that channel triggering and application triggering have evolved apart. You need to look at both as 2 different animals.
Enjoy  |
Perhaps, but the big difference is that "modern" (iirc >5.0 for distributed) versions of MQ don't need PROCESS definitions to trigger channels anymore..otherwise the "rules" of triggering remain the same for both.... _________________ -wayne |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 23, 2006 3:21 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
In fact, I think the only difference is that channels use the channel initiator as the Trigger Monitor. Or maybe that the Channel Initiator is a specialized trigger monitor...
All of the "magic" of channel triggering happens inside the chin, as far as I understand it.
So jeevan is perfectly correct, the Process definition is obsolete. For custom trigger monitors that use other information to determine how to react to initiation messages, at least. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jeevan |
Posted: Wed Aug 23, 2006 3:44 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Jeff and all,
I have heard the word application trigerring but when i read /went through the doc, it seems that when there is process defined, it has the channel in its userdata attribute and in that case the xmitq does not have trigdata setup ( which also contains the channel name to be triggered). That is why I thought where the process definition is obsolate or redundant?
The only use of process I can see, if I am correct is that, we can trigger a process at the receiving end of the communication, so that once message is reached to the destination, a process is trigerred for processing it or whatever we like to do. But in the document, i can not see application trigerring as a separate hearing. All docs just say trigerring.
I would appreicate your experiences and thought furhter.
thanks a millions |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 23, 2006 5:02 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
There is one mechanism for triggering in MQ.
This one mechanism is used for two separate purposes.
One purpose is to start channels when a message is placed on an XMITQ.
In this scenario, there is no use for a Process definition.
One purpose is to start some particular application when a message is placed on a particular queue.
In this scenario, there is a use for a Process definition. This use should be obvious.
The entire chapter in the Application Programming Guide should cover this in enough detail for it to make sense. If there are particular passages that you have read, and do not understand, please post those. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jeevan |
Posted: Wed Aug 23, 2006 10:12 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Thank you very much all of you. For a last few days, I was asking all these probably not useful discussion as I was taking my mq294 exam which I just finished. I passed it with 90%. I am really thankful to all of you who contirbuted in one way or the other. This is a really wonderful forum. In turn of what I get from here, I am committed to make contribution to this forum which I have already started by participating in the discussions and asking quesitons which may benefits many of us.
Thank you all once more,
jeevan |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Wed Aug 23, 2006 10:45 am Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
I was told, that using a process definition for channel starts is no longer possible in MQ V6 on z/OS. Did anybody hear about?
I could verify on Solaris, that this still works. _________________ Regards
Hubert |
|
Back to top |
|
 |
jeevan |
Posted: Wed Aug 23, 2006 12:36 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Hubert,
That would be very good. Thank you in advance.
cheer! |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Wed Aug 23, 2006 11:07 pm Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
jeevan,
sorry, my last post was imprecise: I did verify it, before I posted.
On Solaris channel triggering works also using process definitions! _________________ Regards
Hubert |
|
Back to top |
|
 |
wschutz |
Posted: Thu Aug 24, 2006 1:14 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
But Hubert, why would you want to use PROCESS objects? _________________ -wayne |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu Aug 24, 2006 4:32 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
...are you saying it actually used the process definition or that it ignored it and worked just as if it wasn't there? |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Thu Aug 24, 2006 5:14 am Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
wschutz wrote: |
But Hubert, why would you want to use PROCESS objects? |
I do not want to use PROCESS objects and I did not define any PROCESS to trigger a channel in the last years.
BUT when I have to migrate an existing QMgr, I also do not want to change all XmitQs . _________________ Regards
Hubert |
|
Back to top |
|
 |
|