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 » SSL connection .net with MQC.TRANSPORT_PROPERTY

Post new topic  Reply to topic
 SSL connection .net with MQC.TRANSPORT_PROPERTY « View previous topic :: View next topic » 
Author Message
apk007
PostPosted: Thu Apr 15, 2010 5:04 am    Post subject: SSL connection .net with MQC.TRANSPORT_PROPERTY Reply with quote

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.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Apr 15, 2010 5:42 am    Post subject: Re: SSL connection .net with MQC.TRANSPORT_PROPERTY Reply with quote

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.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
shashikanth_in
PostPosted: Thu Apr 15, 2010 9:39 am    Post subject: Reply with quote

Centurion

Joined: 26 Feb 2009
Posts: 123

Default queue manager will be local. So why SSL?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Apr 15, 2010 10:20 am    Post subject: Reply with quote

Grand High Poobah

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

shashikanth_in wrote:
Default queue manager will be local. So why SSL?


Many possible reasons.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
apk007
PostPosted: Sun Apr 18, 2010 9:11 am    Post subject: Reply with quote

Apprentice

Joined: 23 Mar 2010
Posts: 25

I found it. We can use using below statement.

MQEnvironment.properties.Add(MQC.TRANSPORT_PROPERTY, connectionType);
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 » SSL connection .net with MQC.TRANSPORT_PROPERTY
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.