|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Receiver channel running status |
« View previous topic :: View next topic » |
Author |
Message
|
pintrader |
Posted: Fri Sep 12, 2014 1:04 am Post subject: Receiver channel running status |
|
|
Disciple
Joined: 22 Jan 2014 Posts: 164
|
hi,
just like to get an understanding on receiver channels in the running state. If i stop this receiver channel and do a display chstatus, i often see no channel status. However, sometimes i see its running. Can i say that whenever there is a sender channel connecting to this receiver channel, then the status will change to Running? thanks |
|
Back to top |
|
 |
PaulClarke |
Posted: Fri Sep 12, 2014 1:24 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
Unfortunately stopping a receiver channel has always been tricky. When you stop a receiver I would expect it's status to change to STOPPED immediately but the channel will still be running for a while. Essentially until the sender channel reaches the end of a batch of messages or sends a heartbeat. So, one is in the confusing position, sometimes for minutes, of the receiver channel be STOPPED and yet running.
[The statement above assumes just the vanilla STOP CHANNEL command rather than using MODE(FORCE) etc]
However, when you start a channel life is easier. If a sender channel goes through binding and then running status you know, with some certainty, that somewhere there is a receiver/requester channel that is now RUNNING.
Of course at the end of the day both ends of the channel are independent programs, connected usually by a TCP socket, so at any instant in time you could have one terminate and the other one, in RUNNING status, having not yet noticed.
Hope that helps,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
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
|
|
|
|