ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » how to list message sets in a broker/execution group

Post new topic  Reply to topic
 how to list message sets in a broker/execution group « View previous topic :: View next topic » 
Author Message
amit_pal01
PostPosted: Fri Aug 01, 2008 3:11 am    Post subject: how to list message sets in a broker/execution group Reply with quote

Newbie

Joined: 16 May 2008
Posts: 4

How can we list the message sets in a particular broker or execution group in WBI 6.0?
Back to top
View user's profile Send private message
marko.pitkanen
PostPosted: Fri Aug 01, 2008 3:35 am    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Hi,

Perhaps you can use ConfigManagerProxy API and with java do our own application to display advanced information from deployed resourses.

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ae33010_.htm

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.config.doc/com/ibm/broker/config/proxy/ConfigManagerProxy.html

Quote:

private void displayDomainInfo2(TopologyProxy topology)
throws ConfigManagerProxyException
{
for(Enumeration allBrokers = topology.getBrokers(null); allBrokers.hasMoreElements();)
{
BrokerProxy thisBroker = (BrokerProxy)allBrokers.nextElement();
System.out.println("Broker : " + thisBroker.getName());
for(Enumeration allEGsInThisBroker = thisBroker.getExecutionGroups(null); allEGsInThisBroker.hasMoreElements();)
{
ExecutionGroupProxy thisEG = (ExecutionGroupProxy)allEGsInThisBroker.nextElement();
System.out.println(" EG : " + thisEG.getName());
MessageFlowProxy thisFlow;
for(Enumeration allFlowsInThisEG = thisEG.getMessageFlows(null); allFlowsInThisEG.hasMoreElements(); System.out.println(" MessageFlow : " + thisFlow.getName()))
thisFlow = (MessageFlowProxy)allFlowsInThisEG.nextElement();

DeployedObject thisMessageSet;
for(Enumeration allMessageSetsInThisEG = thisEG.getMessageSets(); allMessageSetsInThisEG.hasMoreElements(); System.out.println(" MessageSet : " + thisMessageSet.getName()))
thisMessageSet = (DeployedObject)allMessageSetsInThisEG.nextElement();

}

}

}


Marko
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » how to list message sets in a broker/execution group
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.