ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Is process redundant in triggering?

Post new topic  Reply to topic
 Is process redundant in triggering? « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Tue Aug 22, 2006 8:27 pm    Post subject: Is process redundant in triggering? Reply with quote

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
View user's profile Send private message
jeevan
PostPosted: Tue Aug 22, 2006 8:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
markt
PostPosted: Tue Aug 22, 2006 9:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 23, 2006 2:42 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
wschutz
PostPosted: Wed Aug 23, 2006 3:18 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Wed Aug 23, 2006 3:21 am    Post subject: Reply with quote

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
View user's profile Send private message
jeevan
PostPosted: Wed Aug 23, 2006 3:44 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 23, 2006 5:02 am    Post subject: Reply with quote

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
View user's profile Send private message
jeevan
PostPosted: Wed Aug 23, 2006 10:12 am    Post subject: Reply with quote

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
View user's profile Send private message
HubertKleinmanns
PostPosted: Wed Aug 23, 2006 10:45 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jeevan
PostPosted: Wed Aug 23, 2006 12:36 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Hubert,

That would be very good. Thank you in advance.

cheer!
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Wed Aug 23, 2006 11:07 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
wschutz
PostPosted: Thu Aug 24, 2006 1:14 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
kevinf2349
PostPosted: Thu Aug 24, 2006 4:32 am    Post subject: Reply with quote

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
View user's profile Send private message
HubertKleinmanns
PostPosted: Thu Aug 24, 2006 5:14 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Is process redundant in triggering?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.