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 API Support » Help reqd on Channel Auto Defn Exit

Post new topic  Reply to topic
 Help reqd on Channel Auto Defn Exit « View previous topic :: View next topic » 
Author Message
GV
PostPosted: Mon Aug 16, 2004 7:27 am    Post subject: Help reqd on Channel Auto Defn Exit Reply with quote

Newbie

Joined: 29 Jul 2004
Posts: 1

We have a CHAD (Channel Auto Definition Exit) written in C to change the Exit properties of a auto defined channel in a cluster setup. Actually in the exit we are trying to set the 'MsgExit' and 'MsgUserData' property of the auto defined cluster sender channel. The exit is getting invoked (we traced using fprintf statements at several points), but these properties that we are setting are not getting reflected on the channel.

Here is what we are doing.

void MQENTRY MY_MQ_CHANNEL_AUTO_DEF_EXIT ( PMQCXP pChannelExitParms,PMQCD pChannelDefinition)
{
PMQCXP pCEP = pChannelExitParms;
MQCD *pCD = pChannelDefinition;
if (pCEP->ExitReason==MQXR_AUTO_CLUSSDR)
{
if (pCD->ChannelType == MQCHT_CLUSSDR)
{
strcpy(pCD->MsgExit,"TEXIT(MsgExit)");
strcpy(pCD->MsgUserData,"EVENTQ");
}
}
pCEP->ExitResponse = MQXCC_OK;
}


This is the portion of the code where the channel properties are set. But this is not getting reflected on the channel. (But the channel gets Auto Defined and goes to Running state).

Does changing the channel properties using a MQCD pointer, actually alter the channel.

Thanks
GV
Back to top
View user's profile Send private message
Nigelg
PostPosted: Fri Aug 20, 2004 1:59 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

See my answer in:

http://www.mqseries.net/phpBB2/viewtopic.php?t=17028&highlight=
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 » IBM MQ API Support » Help reqd on Channel Auto Defn 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.