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 » Determining the Queue Manager Name in Message Flow

Post new topic  Reply to topic
 Determining the Queue Manager Name in Message Flow « View previous topic :: View next topic » 
Author Message
DJN
PostPosted: Thu Mar 20, 2008 4:09 am    Post subject: Determining the Queue Manager Name in Message Flow Reply with quote

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
View user's profile Send private message
gregop
PostPosted: Thu Mar 20, 2008 4:13 am    Post subject: Reply with quote

Voyager

Joined: 24 Nov 2006
Posts: 81

Assuming you're on V6 then in esql

SET qm = QueueManagerName ;
Back to top
View user's profile Send private message
DJN
PostPosted: Thu Mar 20, 2008 4:21 am    Post subject: Reply with quote

Apprentice

Joined: 14 Apr 2003
Posts: 47

.... is this available through esql?
Back to top
View user's profile Send private message
mrgate
PostPosted: Thu Mar 20, 2008 4:26 am    Post subject: Reply with quote

Centurion

Joined: 28 Feb 2007
Posts: 141
Location: India

DJN wrote:
.... is this available through esql?


can refer to...........

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ak04897_.htm
_________________
MQSeries terrorist
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 20, 2008 4:51 am    Post subject: Reply with quote

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
View user's profile Send private message
christian witschel
PostPosted: Wed Mar 26, 2008 4:59 am    Post subject: Reply with quote

Apprentice

Joined: 07 Dec 2005
Posts: 27

and in Java it would be:

getBroker().getName();

where getBroker is a method of MbNode.

http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/topic/com.ibm.etools.mft.broker.doc/com/ibm/broker/plugin/package-overview.html
Back to top
View user's profile Send private message Send e-mail
JosephGramig
PostPosted: Wed Mar 26, 2008 5:41 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Determining the Queue Manager Name in Message Flow
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.