David, I haven't actually used it yet, but there is something for specifying
a channel exit on the MQEnvironment class.



'build the hash table with the connection info
        myHashTable.Add(IBM.WMQ.MQC.CHANNEL_PROPERTY, "ClientChannelName")
        myHashTable.Add(IBM.WMQ.MQC.HOST_NAME_PROPERTY, "HostName")
        myHashTable.Add(IBM.WMQ.MQC.PORT_PROPERTY, 1414)
        myHashTable.Add(IBM.WMQ.MQC.SECURITY_EXIT_PROPERTY,
"SecurityExitPath")

'connect to the QM using tha HashTable for connection paramters
        myQM = New MQQueueManager(QMName, myHashTable)





-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of David
C. Partridge
Sent: Friday, November 19, 2004 12:55 PM
To: [EMAIL PROTECTED]
Subject: MQ .NET and channel exits


It would appear to be impossible to use MQ channel exits with MQ .NET, as it
doesn't support the use of channel connection tables, and does not allow
specification of channel exits in the MQEnvironment class, and there doesn't
appear to be any other way to configure their use.

This seems to be rather a problem if you have a need to do channel exit
stuff with a .net client :-(

Is there some (possibly undocumented) way round this?   There is one line in
the manual which suggests there is an MQChannelDefinition class, but this
isn't mentioned anywhere else, and the MQQueueManager doesn't appear to have
a ctor that uses one (but this may just be because it isn't documented).

Is the code owner of the .net classes listening, or is someone who is able
to catch his or her attention?

Thanks,
David C. Partridge

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all 
copies.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to