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 » Auto Defn Exits

Post new topic  Reply to topic
 Auto Defn Exits « View previous topic :: View next topic » 
Author Message
MB
PostPosted: Tue Aug 10, 2004 3:02 am    Post subject: Auto Defn Exits Reply with quote

Acolyte

Joined: 25 Jun 2004
Posts: 52

Hi All,

I am working on developing of Auto Defn Exit.

Suppose this is my code:

__declspec(dllexport) void MQENTRY AutoDefExit (PMQCXP pChannelExitParams, PMQCD pChannelDefinition)

{
if(pChannelExitParams->ExitReason == MQXR_AUTO_CLUSSDR)
{
if(pChannelDefinition->ChannelType == MQCHT_CLUSSDR)
{

strcpy(pChannelDefinition->MsgExit,"NTMSG(MsgExit)");

strcpy(pChannelDefinition->MsgUserData, "AUDIT_Q");

}
}
/* Exit Response to MCA is set to OK in all cases */
pChannelExitParams->ExitResponse = MQXCC_OK;
return;
}

1. In the manual the AutoDefnExit parameters are explained to be (MQCXP ChannelExitParams, MQCD ChannelDefinition)
Is it ok if I have to use it like this (PMQCXP pChannelExitParams, PMQCD pChannelDefinition). Will this be a problem.

2. I have put the compiled dll name as Dllname(FunctionName) in the Queue Manager properties of the sender in the communications tab. Is this correct??

3. Suppose in the receiver channel definition I have message channel Exit info as NTMSG(MsgExit) and Data as TEST_Q. In this scenario the messages goes to TEST_Q.

4. Next in the receiver channel definition suppose I don’t give any exit info at all, then the NTMSG and AUDIT_Q from this Auto dll values are not getting copied. So original message goes to destined queue. But the message doesn’t go to AUDIT_Q. Should this mean the DLL is not being called or the function is incomplete.

Please, can any one help me with this.

Regards,
~MB.
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 » Auto Defn Exits
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.