Author |
Message
|
skytorch |
Posted: Thu Aug 15, 2002 8:22 am Post subject: use of channel initiator and trigger |
|
|
 Apprentice
Joined: 10 Jun 2002 Posts: 47 Location: New York City
|
Hi,
Do channel initiator and trigger overlap each other in term of what they provide ?
In other words, if I have a server-to-server connection and I have channel initiator running on sender channel side, do I need to use trigger too on the sending side ?
And vise versa, if I already defined process and trigger that sets trigger data to the sender channel, do I need to channel initiator running ? do i need trigger monitor running in this case ?
I tried the first scenario, it doesn't work unless I have to manually start the channel with runmqchl. Why is so ?
Thanks.
Sky |
|
Back to top |
|
 |
udaybho |
Posted: Thu Aug 15, 2002 10:05 am Post subject: |
|
|
Voyager
Joined: 09 May 2002 Posts: 94 Location: Chicago
|
What I understand form your post is that you have TRANSMISSION queue defined with Initq and Trigger data. Trigger data is SENDER channel.
If that's the case then you donot need channel initiator running.
Uday Bhosle |
|
Back to top |
|
 |
skytorch |
Posted: Thu Aug 15, 2002 10:23 am Post subject: |
|
|
 Apprentice
Joined: 10 Jun 2002 Posts: 47 Location: New York City
|
thanks Uday.
But is channel initiator supposed to work without triggers ? In my test, i have to manually started the channel, i.e. the initiator doesn't start the channel by itself. |
|
Back to top |
|
 |
mrlinux |
Posted: Thu Aug 15, 2002 11:25 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
post your transmit queue definition
the trigger data shoud be the channel name and the initq needs to be
SYSTEM.CHANNEL.INITQ.
The channel initiator is used to start sender channels _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
udaybho |
Posted: Fri Aug 16, 2002 6:11 am Post subject: |
|
|
Voyager
Joined: 09 May 2002 Posts: 94 Location: Chicago
|
I am sorry for last posting as Jeff said you need Channel initiator running to start the channels.
As Jeff said It would be helpfull if you post your Transmission queue defination.
Uday Bhosle |
|
Back to top |
|
 |
jc_squire |
Posted: Sun Aug 18, 2002 7:24 pm Post subject: |
|
|
 Centurion
Joined: 14 Apr 2002 Posts: 105 Location: New Zealand
|
Apparently the channel initiator does not only start a chl based on a trigger - it is also responsible for searching the chl status table for chls in retry state and starting the chl i.e. no channel initiator no start on retry interval. This basis your chinit should always be running unless you manually want to start it when ever they go into retry
something I read last week but have'nt tested it.
Regards _________________ J C Squire
IBM Certified Specialist - MQSeries |
|
Back to top |
|
 |
mgrabinski |
Posted: Sun Aug 18, 2002 9:19 pm Post subject: |
|
|
Master
Joined: 16 Oct 2001 Posts: 246 Location: Katowice, Poland
|
In a sense a channel initiator and trigger monitor overlap - both start sth (a channel or an application) upon arrival of a message to a specified queue. There are some differences (CHINIT always uses SYSTEM.CHANNEL.INITQ, a trigger monitor can have any local queue as an initiation queue; channel initiator doesn't need a process definition to trigger a channel), but as far as triggering is concerned - they both do the same.
On the other hand channel initiator has more functionality then just triggering a channel. It has also the capabiblity to restart a channel when the communications link fails. On OS/390 it's even impossible to run any channel without the channel initiator - all channels are tasks within the channel initiator address space.
HTH _________________ Marcin Grabinski <>< |
|
Back to top |
|
 |
jc_squire |
Posted: Mon Aug 19, 2002 3:57 pm Post subject: |
|
|
 Centurion
Joined: 14 Apr 2002 Posts: 105 Location: New Zealand
|
mgrabinski,
The default channel initiator uses the SYSTEM.CHANNEL.INITQ but you can start any number of channel initiators using any local queue that you define as an initiation queue.
Regards _________________ J C Squire
IBM Certified Specialist - MQSeries |
|
Back to top |
|
 |
|