|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to get Channels names list from MQ 7.5 |
« View previous topic :: View next topic » |
Author |
Message
|
yehoram |
Posted: Tue Nov 05, 2013 4:04 am Post subject: How to get Channels names list from MQ 7.5 |
|
|
Newbie
Joined: 05 Nov 2013 Posts: 2
|
Hi,
I'm new on this forum - so if I'm posting in the wrong place or breaking any intern laws - I'm sorry and please redirect me to the right place...
I'm an infrastructure developer and working on creating an intern tool for our organisation to manage and control our MQ servers..
Currently I'm writing in C# and our servers versions varies from 6.0.2.4 to 7.5 (we are in the middle of a migration process to update them all to 7.5)
Writing / reading messages to MQ is no problems for me, and i have no problems to retrieve Queue Names or Inquire Queues and Channels...
My problem is however with retrieving the list of Channels (and Channel Names) from the Queue Manager...
Does anyone have a code (in C#) that retrieves Channel Names?
(and for future assistant: MQ Services list / Topics list / Process Definitions list... lol )
Thank you very much for any help I can get,
Yehoram  |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Nov 05, 2013 4:10 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
What you are creating has been done many times already.
The MQ Explorer is free and does this:
http://www-01.ibm.com/support/docview.wss?uid=swg24021041
I use MO71 from MQGem most often in my day to day:
http://www.mqgem.com/mo71.html
Its free to download and run. To get support and maintenance is a few bucks, well worth it.
If you are writing this tool as a learining excercise go for it. If you are doing it to fill the need for a tool to manage MQ you should really look at the tools already out there. I only mentioned 2, there are many more, some free, others not. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
yehoram |
Posted: Tue Nov 05, 2013 4:19 am Post subject: I know those tools but sadly that won't work for me... |
|
|
Newbie
Joined: 05 Nov 2013 Posts: 2
|
I'm writing something a bit more complicated...
It's suppose to be dedicated to my organisation -
stitched with database and control center and managed by WCF Services, MVC applications, etc..
it is a big mechanism that the MQ services are only 30% percent of...
I have to Manage it automatically by code...
I don't mind writing it all - I have the stamina (and the desire to learn)
what I lack is the knowledge..  |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 06, 2013 6:52 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You might want to look at support pack MS0B (mostly for the pdf in there, the support pack is now integrated into the product) and look at the V7 infocenter talking about the pcf messages. I believe there might even be an example about channel names...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Nov 06, 2013 7:54 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The .NET apis have some undocumented classes for reading and writing PCF messages.
Otherwise, it's easy to take the C samples and use them in a C# application.
For some value of "easy" that means "once you understand how PCF messages work". |
|
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
|
|
|
|