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 » determine actual Qmgr.-/Borkername

Post new topic  Reply to topic
 determine actual Qmgr.-/Borkername « View previous topic :: View next topic » 
Author Message
Thomas
PostPosted: Wed Jan 21, 2004 2:08 am    Post subject: determine actual Qmgr.-/Borkername Reply with quote

Novice

Joined: 25 Sep 2002
Posts: 10
Location: Germany

Hi,
how can i determin the actual QMgr-Name and/or Brokername within Computenode ? Is there a special Environment-Variable or ESQL-Function available ?
Thomas
Back to top
View user's profile Send private message
lillo
PostPosted: Wed Jan 21, 2004 3:08 am    Post subject: Reply with quote

Master

Joined: 11 Sep 2001
Posts: 224

It is not possible in a compute node, but it is possible to do it in a Java Plugin node.

In your evaluate method:
Code:

String qmgr = getBroker().getQueueManagerName();
String brk = getBroker().getName();

_________________
Lillo
IBM Certified Specialist - WebSphere MQ
Back to top
View user's profile Send private message
Boolean
PostPosted: Wed Jan 21, 2004 8:41 am    Post subject: Reply with quote

Acolyte

Joined: 05 Jun 2003
Posts: 56
Location: Sweden

You should be able to read the Qmgr name from the MQ header:
MQMD. ReplyToQMgr
_________________
/ Boolean
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Jan 21, 2004 12:49 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

NO. That's the Queue Manager where the message originated. Not always the same as the Queue Manager the Broker is running on.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » determine actual Qmgr.-/Borkername
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.