Posted: Wed Jun 23, 2004 12:11 pm Post subject: MQEnviornment vars
Voyager
Joined: 22 Dec 2002 Posts: 87
Hi,
I have MQ5.3 on my desktop with CSD 06 installed. Can someone tell me what I need to do in windows to have the MQServer environment variables setup on windows?
Joined: 14 Jul 2004 Posts: 15 Location: Mansfield, MA
Try setting the values of the folllowing variables within the MQEnvironment class.
MQEnvironment.Hostname = 'myMachineName'; //name of the machine where the queue manager resides
MQEnvironment.Channel = 1416; //port number for the listener
thse values are used later at the time you instantiate the Queue manager object.
qManager = new MQQueueManager('myQueueManagerName');
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