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 check Message flow peroperties after deploying

Post new topic  Reply to topic
 How to check Message flow peroperties after deploying « View previous topic :: View next topic » 
Author Message
chanduy9
PostPosted: Tue Apr 17, 2012 8:44 am    Post subject: How to check Message flow peroperties after deploying Reply with quote

Disciple

Joined: 28 Nov 2001
Posts: 177
Location: USA

Hi,

How do i get the Message flow properties after delploying the flow to execution group (not from mqsireadbar). I have tried mqsilist with -d 2 option, but the command is not returning the Queues used, DSN, urls and other properties.

Thanks,
Chandra.
_________________
Chandra,
IBM WebSphere MQ Certified.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 17, 2012 9:11 am    Post subject: Re: How to check Message flow peroperties after deploying Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

chanduy9 wrote:
How do i get the Message flow properties after delploying the flow to execution group (not from mqsireadbar).


This is another really good reason why you should keep deployed bar files safely in your source code management system or other repository. Others include (but are not limited to) the need to build new broker instances for scaling or recovery.

Alternatively you could add a mqsireadbar to the script you use to deploy bar files and store that output.

Depends really on how long after deployment you mean; do you want to check the values immediately post deployment, or check 6 months later as part of problem resolution?

chanduy9 wrote:
I have tried mqsilist with -d 2 option, but the command is not returning the Queues used, DSN, urls and other properties.


That does show UDPs. I'm not aware of any other method (which is not to say there isn't one) and someone who knows more about the admin APIs will be along in a moment.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Apr 17, 2012 7:15 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

I thought the java configmgrAPIExerciser would allow you to get that information from the EG and the deployed flow...

Have fun looking at the programming model and writing your own...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
saurabh867
PostPosted: Tue Apr 17, 2012 10:09 pm    Post subject: Reply with quote

Voyager

Joined: 13 Jun 2010
Posts: 78

Look for the javadoc of MessageFlowProxy class and check what all methods you have there.
This should give you the properties of your deployed message flow.

Regards,
Saurabh
Back to top
View user's profile Send private message
kash3338
PostPosted: Tue Apr 17, 2012 10:44 pm    Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

You can also check with mqsireportproperties command. You will be able to get the properties of each node deployed in a particular execution group.
Back to top
View user's profile Send private message Send e-mail
mqmatt
PostPosted: Wed Apr 18, 2012 5:55 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

I second the comments on the CMP and mqsireportproperties.
Just bear in mind that message flows are a lot more dynamic than they used to be. Configurable services, LE overrides, registry lookups etc. all mean that what you configure at deployment time is not necessarily what the broker is working with.
If you want information on what the broker is *actually* connected to, then look at resource statistics (V7/V8) or the activity log (V8).
Back to top
View user's profile Send private message
ganesh
PostPosted: Wed Apr 18, 2012 6:50 am    Post subject: Reply with quote

Master

Joined: 18 Jul 2010
Posts: 294

Quote:
I have tried mqsilist with -d 2 option, but the command is not returning the Queues used, DSN, urls and other properties.



Write a JAVA program and use the MessageFlowProxy class with the getQueues() method.
Code:

MessageFlowProxy elements;
String [] queues = elements.getQueues();

You will also be able to look up the queue names in CMP API exerciser.
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Apr 18, 2012 7:28 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Doesn't the MBX show this sort of stuff (flow properties)?
Back to top
View user's profile Send private message
ganesh
PostPosted: Wed Apr 18, 2012 8:29 am    Post subject: Reply with quote

Master

Joined: 18 Jul 2010
Posts: 294

zpat wrote:
Doesn't the MBX show this sort of stuff (flow properties)?

Yes we can see those properties in MB explorer.
Back to top
View user's profile Send private message
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 check Message flow peroperties after deploying
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.