|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| .NET API information required. | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | vinay_s_s | 
			  
				|  Posted: Tue Dec 09, 2008 10:29 pm    Post subject: .NET API information required. |   |  |  
		  |  Apprentice
 
 
 Joined: 17 Nov 2008Posts: 39
 
 
 | 
			  
				| Is there any .NET API to connect to MQ itself. What I mean here is I want develop a new application in .NET which displays all the queue manager names in a system.
 |  |  
		  | Back to top |  |  
		  |  |  
		  | Vitor | 
			  
				|  Posted: Wed Dec 10, 2008 1:01 am    Post subject: Re: .NET API information required. |   |  |  
		  |  Grand High Poobah
 
 
 Joined: 11 Nov 2005Posts: 26093
 Location: Texas, USA
 
 | 
			  
				| 
   
	| vinay_s_s wrote: |  
	| Is there any .NET API to connect to MQ itself. |  
 Yes. It's described in the "Using .NET" manual
   
 
 
   
	| vinay_s_s wrote: |  
	| What I mean here is I want develop a new application in .NET which displays all the queue manager names in a system. |  
 What you're describing is an application with administrative access. This has been discussed endlessly on the forum. The question is why would you want to develop such an application? At best you're reinventing a wheel by producing a monitoring application, where the commercial solutions offer more functionality for a smaller total cost of ownership. At worst you're developing a business application that defeats the ends of having WMQ by picking it's own queue to use.
 
 But if you're satisfied this is the right solution for you, look up PCF commands as well as .NET.
 _________________
 Honesty is the best policy.
 Insanity is the best defence.
 |  |  
		  | Back to top |  |  
		  |  |  
		  | mqjeff | 
			  
				|  Posted: Wed Dec 10, 2008 2:47 am    Post subject: |   |  |  
		  | Grand Master
 
 
 Joined: 25 Jun 2008Posts: 17447
 
 
 | 
			  
				| There is no way to use any MQ API to discover queue managers that exist on a given system. 
 The best you can do, in *some* cases, is discover what queue managers a given queue manager is connected to.
 
 You must look outside of PCF messages and outside of MQ APIs if you wish to rewrite the functionality provided by dspmq.
 |  |  
		  | Back to top |  |  
		  |  |  
		  | Vitor | 
			  
				|  Posted: Wed Dec 10, 2008 3:23 am    Post subject: |   |  |  
		  |  Grand High Poobah
 
 
 Joined: 11 Nov 2005Posts: 26093
 Location: Texas, USA
 
 | 
			  
				| 
   
	| mqjeff wrote: |  
	| There is no way to use any MQ API to discover queue managers that exist on a given system. 
 |  
 
   
 I thought the original post said "queue names"
  _________________
 Honesty is the best policy.
 Insanity is the best defence.
 |  |  
		  | Back to top |  |  
		  |  |  
		  |  |  |  
  
	|    |  | Page 1 of 1 |  
 
 
  
  	| 
		
		  | 
 
 | 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
 
 |  |  |  |