Author |
Message
|
kvranjan10 |
Posted: Wed Aug 19, 2009 10:24 pm Post subject: Regarding channel events |
|
|
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 |
|
 |
gbaddeley |
Posted: Wed Aug 19, 2009 10:45 pm Post subject: |
|
|
 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 |
|
 |
kvranjan10 |
Posted: Wed Aug 19, 2009 11:08 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Thu Aug 20, 2009 2:17 am Post subject: |
|
|
 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 |
|
 |
gunter |
Posted: Thu Aug 20, 2009 4:14 am Post subject: |
|
|
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 |
|
 |
gbaddeley |
Posted: Thu Aug 20, 2009 3:24 pm Post subject: |
|
|
 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 |
|
 |
|