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 » IBM MQ Security » Stopping a Receiver channel with a channel exit

Post new topic  Reply to topic Goto page Previous  1, 2
 Stopping a Receiver channel with a channel exit « View previous topic :: View next topic » 
Author Message
jp97
PostPosted: Wed Mar 05, 2014 1:10 pm    Post subject: Reply with quote

Newbie

Joined: 19 Jun 2013
Posts: 9

It does stop after the heartbeat seconds has gone by.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Mar 05, 2014 2:00 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

jp97 wrote:
Was told to try to use one.


By whom? A highly trained technician or some manager who thought exits are cool?

There's a good thread on requirements v stated requirements.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Wed Mar 05, 2014 4:01 pm    Post subject: Reply with quote

Jedi Knight

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

It would be helpful to print out the decimal value of pChannelExitParms->ExitReason to see why the exit was being invoked.
When the MCA closes the channel it should be MQXR_TERM = 12 (defined in cmqxc.h)
You don't need to set ExitResponse2.
_________________
Glenn
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Wed Mar 05, 2014 4:09 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

See, now I understand why I always did 'force stop' on a channel.. Thanks Paul.

jp97 wrote:
I am monitoring the channel status.

Yuk! I suppose it was some manager or director with this bright idea. Go get MO71 and use its monitoring feature.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
jp97
PostPosted: Wed Mar 05, 2014 5:07 pm    Post subject: Reply with quote

Newbie

Joined: 19 Jun 2013
Posts: 9

Manager.

Think he likes the idea of the possibility of pushing status changes instead of polling.

Force stop did always work.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Mar 05, 2014 7:02 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

jp97 wrote:
Manager.

Think he likes the idea of the possibility of pushing status changes instead of polling.


Then he would be pleased to learn about the wonderful world of Channel Events.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Security » Stopping a Receiver channel with a channel exit
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.