|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
what am i: app, lib mf |
« View previous topic :: View next topic » |
Author |
Message
|
scravr |
Posted: Thu Mar 14, 2013 10:17 am Post subject: what am i: app, lib mf |
|
|
 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 |
|
 |
mqjeff |
Posted: Thu Mar 14, 2013 10:28 am Post subject: |
|
|
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 |
|
 |
scravr |
Posted: Thu Mar 14, 2013 11:04 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Thu Mar 14, 2013 11:46 am Post subject: |
|
|
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 |
|
 |
mgk |
Posted: Fri Mar 15, 2013 12:19 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|