Author |
Message
|
DJN |
Posted: Thu Mar 20, 2008 4:09 am Post subject: Determining the Queue Manager Name in Message Flow |
|
|
Apprentice
Joined: 14 Apr 2003 Posts: 47
|
Is there a way to determine the queue manager name in a message flow? In our environment the queue manager name is not the same as the broker name. |
|
Back to top |
|
 |
gregop |
Posted: Thu Mar 20, 2008 4:13 am Post subject: |
|
|
Voyager
Joined: 24 Nov 2006 Posts: 81
|
Assuming you're on V6 then in esql
SET qm = QueueManagerName ; |
|
Back to top |
|
 |
DJN |
Posted: Thu Mar 20, 2008 4:21 am Post subject: |
|
|
Apprentice
Joined: 14 Apr 2003 Posts: 47
|
.... is this available through esql? |
|
Back to top |
|
 |
mrgate |
Posted: Thu Mar 20, 2008 4:26 am Post subject: |
|
|
 Centurion
Joined: 28 Feb 2007 Posts: 141 Location: India
|
|
Back to top |
|
 |
Vitor |
Posted: Thu Mar 20, 2008 4:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
DJN wrote: |
.... is this available through esql? |
gregop wrote: |
Assuming you're on V6 then in esql |
I think the question was already answered!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
christian witschel |
Posted: Wed Mar 26, 2008 4:59 am Post subject: |
|
|
Apprentice
Joined: 07 Dec 2005 Posts: 27
|
|
Back to top |
|
 |
JosephGramig |
Posted: Wed Mar 26, 2008 5:41 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Christian,
that java snipit gets the name of the broker.
getBroker().getQueueManagerName()
Might get the QMGR name... _________________ Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3 |
|
Back to top |
|
 |
|