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 » what am i: app, lib mf

Post new topic  Reply to topic
 what am i: app, lib mf « View previous topic :: View next topic » 
Author Message
scravr
PostPosted: Thu Mar 14, 2013 10:17 am    Post subject: what am i: app, lib mf Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 391
Location: NY NY USA 10021

HI All,

Is there a way in esql and/or java to find out what type of process is running: APP, LIB, MsgFlow....

When err occurs, i call JAVA generic function to stop myself... i need to know if i am app or msgflow in order to run mqsistopmsgflow with -k or -m

any ideas?

Plz do not ask way i do this... and do not suggest other stop options.


Thanks
Back to top
View user's profile Send private message Send e-mail MSN Messenger
mqjeff
PostPosted: Thu Mar 14, 2013 10:28 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

don't think you can tell.

Can't answer otherwise, since you've said not to answer otherwise.
Back to top
View user's profile Send private message
scravr
PostPosted: Thu Mar 14, 2013 11:04 am    Post subject: Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 391
Location: NY NY USA 10021

Is there an ESQL or JAVA broker-property to get APP or LIB names (something like MessageFlowLabel)
Back to top
View user's profile Send private message Send e-mail MSN Messenger
mqjeff
PostPosted: Thu Mar 14, 2013 11:46 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

scravr wrote:
Is there an ESQL or JAVA broker-property to get APP or LIB names (something like MessageFlowLabel)


I don't think so.
Back to top
View user's profile Send private message
mgk
PostPosted: Fri Mar 15, 2013 12:19 pm    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Yes there is:

In Java on the MbMessageFlow you can use the getApplicationName() and getLibraryName() methods. In .NET on the NBMessageFlow you can use the ApplicationName and LibraryName properties. In ESQL you can use ApplicationLabel and LibraryLabel.

Kind regards,


Matthew
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
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 » what am i: app, lib mf
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.