Author |
Message
|
jrschol |
Posted: Wed Mar 22, 2006 6:26 am Post subject: sender channel does not start when message is put in queue |
|
|
Newbie
Joined: 22 Mar 2006 Posts: 3
|
first...I am fairly new to MQ....
I have a sender channel that does not start when a message is put in the queue. I am putting the message in my local queue and then sending it to another queue manager via a xmit queue. If I don't put a message in there for a while it times out and the sender channel doesn't start again when a message is put in the queue. I am running MQ 6 for windows. Is there an attribute that I should be setting that I am not? The other queue manager on the solaris box always starts its sender channel properly. I just have this problem on the windows side sender channel.
any help is great....thanks |
|
Back to top |
|
 |
kevinf2349 |
Posted: Wed Mar 22, 2006 6:36 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
You need to read up about triggering the channels. Do a search here, in fact I think there is a FAQ on here too. |
|
Back to top |
|
 |
csmith28 |
Posted: Wed Mar 22, 2006 7:18 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Kevin is right but here's the down and dirty...
On your Transmit Queue make sure that the following is set:
INITQ(SYSTEM.CHANNEL.INITQ)
USAGE(XMITQ)
TRIGGER
TRIGTYPE(FIRST)
TRIGDEPTH(1)
TRIGDATA(SDR.CHANNEL.NAME)
If you don't want the Channel to stop, ever set DISCINT(0). Then the SDR Channel will only stop if the MQManager goes down or there is some other problem. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
Nigelg |
Posted: Wed Mar 22, 2006 7:49 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
You do not need to set TRIGDATA, ever since 5.1. The channel initiator will look for the channel using the xmitq. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
csmith28 |
Posted: Wed Mar 22, 2006 8:05 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Nigelg wrote: |
You do not need to set TRIGDATA, ever since 5.1. The channel initiator will look for the channel using the xmitq. |
Since 5.1 or after 5.1?
In WMQ 5.1 and earlier versions didn't we have to define a PROCESS that pointed to the Channel?
Either way, it's always good to be able to see the channel name in the TRIGDATA field. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Wed Mar 22, 2006 8:20 am Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
csmith28 wrote: |
Nigelg wrote: |
You do not need to set TRIGDATA, ever since 5.1. The channel initiator will look for the channel using the xmitq. |
Since 5.1 or after 5.1?
In WMQ 5.1 and earlier versions didn't we have to define a PROCESS that pointed to the Channel?
Either way, it's always good to be able to see the channel name in the TRIGDATA field. |
Interesting, but I agree, it's better, to enter the channel name in the TRIGDATA field. Otherwise you will get problems, when you define two channel using the same XmitQ (e. g. one, for SSL, and another one as backup, if SSL does not work). _________________ Regards
Hubert |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Mar 22, 2006 8:31 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Nigelg wrote: |
You do not need to set TRIGDATA, ever since 5.1. The channel initiator will look for the channel using the xmitq. |
However in 6.0 RP1 I have seen channels that refused to start until the TRIGDATA was set. I should specify that this was on regular sdr/rcvr channel in a clustered qmgr.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jrschol |
Posted: Wed Mar 22, 2006 11:44 pm Post subject: channel trigger |
|
|
Newbie
Joined: 22 Mar 2006 Posts: 3
|
You are all great. The trigger worked.
thanks a million. |
|
Back to top |
|
 |
Anirud |
Posted: Wed Mar 29, 2006 10:24 am Post subject: |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
HubertKleinmanns wrote: |
Interesting, but I agree, it's better, to enter the channel name in the TRIGDATA field. Otherwise you will get problems, when you define two channel using the same XmitQ (e. g. one, for SSL, and another one as backup, if SSL does not work). |
Can we use the same xmitq for 2 different channels? |
|
Back to top |
|
 |
EddieA |
Posted: Wed Mar 29, 2006 2:22 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
Can we use the same xmitq for 2 different channels? |
Yes, but you can only have one started at any point in time.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Nigelg |
Posted: Wed Mar 29, 2006 11:24 pm Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Quote: |
However in 6.0 RP1 I have seen channels that refused to start until the TRIGDATA was set. |
No, that was a bug in 6.0 GA. It was fixed in RP1. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Mar 30, 2006 4:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Nigelg wrote: |
Quote: |
However in 6.0 RP1 I have seen channels that refused to start until the TRIGDATA was set. |
No, that was a bug in 6.0 GA. It was fixed in RP1. |
Not according to my environment (AIX broker qmgr at 6.0 RP1 part of a cluster and std snd /rec channel to a qmgr outside of the cluster) Behavior was flaky until I added the Trigdata and then it behaved as expected. _________________ MQ & Broker admin |
|
Back to top |
|
 |
Nigelg |
Posted: Thu Mar 30, 2006 6:25 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
I was thinking of APAR IY77282, and that is definitely in RP1. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Mar 30, 2006 2:38 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Looking at dsmpqver
Quote: |
Name: WebSphere MQ
Version: 6.0.1.0
CMVC level: p600-100-051021
BuildType: IKAP - (Production)
|
and I had to put the trigdata into the xmitq for the channel to trigger correctly...
Like I said the qmgr is in a cluster. This might have some influence. _________________ MQ & Broker admin |
|
Back to top |
|
 |
|