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 IBM MQ Support » Regarding channel events

Post new topic  Reply to topic
 Regarding channel events « View previous topic :: View next topic » 
Author Message
kvranjan10
PostPosted: Wed Aug 19, 2009 10:24 pm    Post subject: Regarding channel events Reply with quote

Apprentice

Joined: 05 Aug 2008
Posts: 29

Hi All,

Need some clarification on when the channel events be generated.

Will the channel events be generated when channel is in

1)Inactive
2)Retrying
3)Binding
4)Starting
5)Stopped
6)Intializing

If my channels is in running state and at any point in time if it changes its state to any of the mentioned states. will the event message be placed in CHANNEL.EVENT.QUEUE

Thanks in Advance.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Wed Aug 19, 2009 10:45 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

Are you too lazy to look at the MQ manuals?
_________________
Glenn
Back to top
View user's profile Send private message
kvranjan10
PostPosted: Wed Aug 19, 2009 11:08 pm    Post subject: Reply with quote

Apprentice

Joined: 05 Aug 2008
Posts: 29

No Actually i gone through the manuls there it is mentioned that for these conditions that event is generating.

Channel Activated
Channel Auto-definition Error
Channel Auto-definition OK
Channel Conversion Error
Channel Not Activated
Channel Started
Channel Stopped

Even i checked that when the channel is running and it comes to retying then its generating the Event message. Just i want to know whether for all the states it wil generate a Event message?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Aug 20, 2009 2:17 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

kvranjan10 wrote:
No Actually i gone through the manuls there it is mentioned that for these conditions that event is generating.

Channel Activated
Channel Auto-definition Error
Channel Auto-definition OK
Channel Conversion Error
Channel Not Activated
Channel Started
Channel Stopped

Even i checked that when the channel is running and it comes to retying then its generating the Event message. Just i want to know whether for all the states it wil generate a Event message?

If the manual says so why do you doubt it?
Do you have a concrete reason to doubt the manual?
Wouldn't channel retrying fall into the category Channel Not Activated?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
gunter
PostPosted: Thu Aug 20, 2009 4:14 am    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

I couldn't found any documents with exact information and in the past the bahavior was changed without telling it.

Starting a channel will produce two events, one for the command and one fore the result.

The parameter StopEvent in qm.ini changes the behavior.
If you search for StopEvent you will find some information but this is not complete.
_________________
Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Thu Aug 20, 2009 3:24 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

FYI, here are some notes I made about channel events several years ago:

CHANNEL_STARTED occurs when MQ has successfully started a channel.

There are two events which can occur when a channel terminates:
» MQ has stopped a channel, or it has gone into retry status or in-doubt status (CHANNEL_STOPPED),
» An administrator or automation tool has stopped a channel (CHANNEL_STOPPED_BY_USER).
They both contain a reason qualifier code which indicates the exact reason the channel was terminated.

CHANNEL_NOT_ACTIVATED occurs when a channel is trying to become active because it is starting or making a retry attempt, but the limit on the number of active channels has been reached.

CHANNEL_ACTIVATED occurs after the above event when the channel tries again and number of active channels has dropped below the limit.

CHANNEL_AUTO_DEF_ERROR occurs when MQ is unable to automatically define a cluster channel or a client channel.

CHANNEL_SSL_ERROR occurs when MQ is unable to establish a SSL session when it is starting a channel which has SSL enabled. The event contains a reason qualifier and SSL handshake function name to diagnose the error.

CHANNEL_CONV_ERROR occurs when a MQ Message Channel Agent is unable to get a message from a transmission queue and perform automatic data conversion. The event contains a reason code which indicates why the conversion failed.

CHANNEL_AUTO_DEF_OK occurs when MQ was successful at automatically defining a channel.

HTH
_________________
Glenn
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 IBM MQ Support » Regarding channel events
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.