Author |
Message
|
Sami_mq |
Posted: Thu Jun 16, 2005 11:23 am Post subject: Triggering Channel |
|
|
Apprentice
Joined: 07 May 2005 Posts: 34
|
Hello there ,
If the channel wouldn't start by the transmit queue , what possibly the issue? I sat up the Transmit queue to trigger and start the channel , I sat up triggerControl to ON , the triggerData , and the InitiationQName . I am not sure if I am missing a step somewhere. I can start the the channel manually with no issues , I also have the trigger monitor running.
I am using Qpasa , thanks much |
|
Back to top |
|
 |
vennela |
Posted: Thu Jun 16, 2005 11:31 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Channels are triggered by runmqchi (not the regular trigger monitor).
Also you cannot trigger an exclusively stopped channel. If the channel is in inactive state then triggering can be accomplished.
What is the INITQ name that you gave ?
What is the TRIGDATA that you put on the XMITQ |
|
Back to top |
|
 |
Sami_mq |
Posted: Thu Jun 16, 2005 11:49 am Post subject: |
|
|
Apprentice
Joined: 07 May 2005 Posts: 34
|
INITQ name is SYSTEM.CHANNEL.INITQ
TRIGDATA is QM1.QM2
I put the message on the remote queue under QM1 , the I see it in the transmit queue but the channel will not start. I go and start the channel named QM1.QM2 which I created under QM1 , the channel would start and the message would flow fine .
So if a channel is completely stopped , the trigger wouldn't be able to start it ? Do I have to do it manually every time ?
thanks Vennela |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jun 16, 2005 12:43 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Sami_mq wrote: |
So if a channel is completely stopped , the trigger wouldn't be able to start it ? Do I have to do it manually every time ? |
No.
You just have to make sure that it is never in a "Stopped" state. So don't stop it, just let it go inactive. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jun 16, 2005 2:30 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
if you want to test you can "put" the channel in inactive state if the xmitq is empty using runmqsc
Code: |
stop chl(mychlname) mode(quiesce) status(inactive) |
Now check the status of the channel and you should get an answer of not found.
Put a msg in the remoteq, it hits the xmitq, the channel should start and the msg should end up at its destination
Enjoy  |
|
Back to top |
|
 |
Sami_mq |
Posted: Thu Jun 16, 2005 3:15 pm Post subject: |
|
|
Apprentice
Joined: 07 May 2005 Posts: 34
|
You all correct , I shouldn't have the channel completely stopped . thanks much for the help |
|
Back to top |
|
 |
|