Posted: Thu Apr 15, 2010 5:04 am Post subject: SSL connection .net with MQC.TRANSPORT_PROPERTY
Apprentice
Joined: 23 Mar 2010 Posts: 25
I have MQ which is over the SSL. The channel table has all the details related to that. I only know the queue name. I am connecting to the default queue manager so there is no queue manager. But i would like to uase MQC.TRANSPORT_PROPERTY. I am not able to do it becuase
MQQueueManager qMgr = new MQQueueManager(); - has a options to passs through constructor. Since i don't know the queue manager name i will not be able to pass MQC.TRANSPORT_PROPERTY explisitely. Is there any alternative way to pass MQC.TRANSPORT_PROPERTY property other then passing through constructor.
I am using .net 2.0 MQ 7.
Posted: Thu Apr 15, 2010 5:42 am Post subject: Re: SSL connection .net with MQC.TRANSPORT_PROPERTY
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
apk007 wrote:
I have MQ which is over the SSL. The channel table has all the details related to that. I only know the queue name. I am connecting to the default queue manager so there is no queue manager. But i would like to uase MQC.TRANSPORT_PROPERTY. I am not able to do it because
MQQueueManager qMgr = new MQQueueManager(); - has a options to passs through constructor. Since i don't know the queue manager name i will not be able to pass MQC.TRANSPORT_PROPERTY explicitly. Is there any alternative way to pass MQC.TRANSPORT_PROPERTY property other then passing through constructor.
I am using .net 2.0 MQ 7.
AFAIK a default qmgr is only relevant if it is local, i.e. you connect in bindings and not client mode.
Remember you are using a channel table. So make sure that you pass the qmgr name as '*qmname' to take full advantage of the channel table features. It need not be the true qmgr name but needs to match what is defined in the client channel.
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