Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB.Net connecting to a remote queue

Status
Not open for further replies.

ctuser

IS-IT--Management
Aug 17, 2012
1
0
0
US
I've looked here, but was unable to determine if this issue has been addressed already.

I'm trying to connect to a remote queue with VB in Visual Studio 2008 and WebSphere 7.5. Is anyone doing this?

From what I read the software now seems to prevent access to remote queues, and I'm unsure how to override this from within the program. Can it be done, so that I can authorize my program to connect to the queue and pass a userid and password to Websphere?

I was trying to use the IBM.WMQ.MQEnvironment variables to pass the userid & password, but from what I'm seeing at the remote queue, my active directory ID is passed.


If it helps-My current code:
IBM.WMQ.MQEnvironment.Password = "xxxxxxxx"
IBM.WMQ.MQEnvironment.UserId = "xxxxx"
IBM.WMQ.MQEnvironment.Port = "xxxx"
IBM.WMQ.MQEnvironment.ConnectionName = "xxxx"

QMgr = New MQQueueManager("aaa", "bbb", "cc)")

Queue = QMgr.AccessQueue("q", MQC.MQOO_OUTPUT)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top