|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
channel auto trigger on EVERY |
« View previous topic :: View next topic » |
Author |
Message
|
pmane |
Posted: Wed Sep 04, 2002 4:05 am Post subject: channel auto trigger on EVERY |
|
|
Acolyte
Joined: 17 Oct 2001 Posts: 50
|
I have transmission queue defined as
DEFINE QLOCAL(GL_GW.TRANSMISSION.QUEUE) REPLACE +
DESCR('TRANSMISSION QUEUE FOR SUN MACHINE') +
NOSHARE +
DEFSOPT(EXCL) +
MAXMSGL(10240) +
MAXDEPTH(100) +
QDEPTHHI(25) +
QDPHIEV (ENABLED) +
QSVCIEV (HIGH) +
QSVCINT(30000) +
TRIGGER +
TRIGTYPE (EVERY) +
TRIGMPRI(5) +
INITQ(SYSTEM.CHANNEL.INITQ) +
USAGE (XMITQ)
I was expecting if I put a message with priority 5 on the q then it will start the channel automaticaly. This dose happen at first time. But when I stop the channel and then put the priority 5 message the channel dose not start automaticaly. It dose not genarate the trigger it self.
I want to ensure that if the channel goes down due to some problems then my application should try at lest few times to bring it up back again by this mechanisum. Will I need this kind of trigger i.e on every pri message 5 or it can be done using some other method.
I understand that MQ takes care to start the channel automaticaly in many cases but can a case arise in which I might need to start the channel automaticaly if it goes down.
OR just trigger on FIRST is enough. Also is it a over head to do this ? |
|
Back to top |
|
 |
mgrabinski |
Posted: Wed Sep 04, 2002 9:17 pm Post subject: |
|
|
Master
Joined: 16 Oct 2001 Posts: 246 Location: Katowice, Poland
|
If your channel is in STOPPED channel, you can only start it manualy. Fot triggereing a channel, it must be in INACTIVE state.
BTW - using triggering EVERY for channels is not of much use. A channel opens the transmission queue for exclusive get - so it can be only one.
Switch to FIRST. _________________ Marcin Grabinski <>< |
|
Back to top |
|
 |
pmane |
Posted: Sun Sep 08, 2002 5:30 pm Post subject: |
|
|
Acolyte
Joined: 17 Oct 2001 Posts: 50
|
How much useful is this automatic triggering any way ? As I can start the channel with a script also. If I switch to FIRST and if the channel goes to inactive state then I will not be able to start it ? What are the typical channel failuers and states ? |
|
Back to top |
|
 |
mgrabinski |
Posted: Sun Sep 08, 2002 9:54 pm Post subject: |
|
|
Master
Joined: 16 Oct 2001 Posts: 246 Location: Katowice, Poland
|
If a channel is INACTIVE, it's a perfect condition for triggering! Only when channel is STOPPED, the triggering wll not occur _________________ Marcin Grabinski <>< |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|