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 Discussion » channel auto trigger on EVERY

Post new topic  Reply to topic
 channel auto trigger on EVERY « View previous topic :: View next topic » 
Author Message
pmane
PostPosted: Wed Sep 04, 2002 4:05 am    Post subject: channel auto trigger on EVERY Reply with quote

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
View user's profile Send private message
mgrabinski
PostPosted: Wed Sep 04, 2002 9:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
pmane
PostPosted: Sun Sep 08, 2002 5:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
mgrabinski
PostPosted: Sun Sep 08, 2002 9:54 pm    Post subject: Reply with quote

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

MQSeries.net Forum Index » General Discussion » channel auto trigger on EVERY
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.