Posted: Mon Nov 22, 2004 6:26 am Post subject: List Queue Names under remote queue manage in C#
Newbie
Joined: 19 Oct 2004 Posts: 9
Follow up to my original post : List remote queues with PCF in C#
Please see my final post listed below, anyone got any ideas?
Thanks for all your advice. I have used the PCF Message Agent class and have been succesful in listing all of the queues under my local queue managers by passing the name of my local queue manager.
eg.
PCFMessageAgent myAgent = new PCFMessageAgent("QM_NAME")
I have also been successful in connecting to a remote queue manager using the .net MQ classes and setting the MQEnvironment variables.
However I cannot obtain a list of the queues under this remote queue manager by connecting to it as a client. Nor can I use the PCF Message Agent class to connect to a remote queue manager. If I supply the name of my remote queue manager I get an 2058 exception, similar to if i try to connect to a remote queue manager using the MQ classes without setting the MQEnvironment variables. There is no MQEnvironment class in the PCF namspace, as far as i can see.
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