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 » Broker Queue manager name in a compute node

Post new topic  Reply to topic
 Broker Queue manager name in a compute node « View previous topic :: View next topic » 
Author Message
kirank
PostPosted: Thu Jun 10, 2004 5:37 am    Post subject: Broker Queue manager name in a compute node Reply with quote

Centurion

Joined: 10 Oct 2002
Posts: 136
Location: California

Hi All,

I have a message flow that can run on two brokers on two separate machines. At run time I want to know the name of the queue manager attached to the broker within a compute node. What are the different options to get this?

Thanks

Kiran
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 10, 2004 5:43 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There is basically one and only one option.

A plug-in node.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kirank
PostPosted: Thu Jun 10, 2004 6:08 am    Post subject: Reply with quote

Centurion

Joined: 10 Oct 2002
Posts: 136
Location: California

Even in 5.0 there is no system variable or a some message tree that can capture this?

Thanks

Kiran
Back to top
View user's profile Send private message
JT
PostPosted: Thu Jun 10, 2004 6:15 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Now that it has been upgraded to v5 and removed from the "withdrawn" list of supportpacs you could look at using the IA06 Get all environment variables Plug-In supportpac.

On each broker server set an environment variable, say WBIMBQMGR, to the queue manager name that supports that particular broker. Within your message flow exercise the Get all environment variables node and subsequently query the new ENV tree (Root.ENV.WBIMBQMGR) in a compute/filter node to determine the queue manager name.

This scenario no longer works for us as our configuration now has each broker server supporting multiple brokers, thus on any given broker server the message flows that span multiple brokers would retrieve the same queue manager value. Since you have the brokers running on separate servers this limitation doesn't apply to you.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 10, 2004 6:21 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

JT -
For your situation, you might look at the LDAP plug-in to augment your flow with an LDAP value selected based on the broker name.

But, for Kirank - as far as I know this has not changed for version 5. But consult your documentation!
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kirank
PostPosted: Thu Jun 10, 2004 6:26 am    Post subject: Reply with quote

Centurion

Joined: 10 Oct 2002
Posts: 136
Location: California

I have separate Broker databases for each of the two brokers. Can I get the queue manager name from any of the tables within the broker database?
I don't want to go into implementing Plugin node so trying to explore other options.

Thanks

Kiran
Back to top
View user's profile Send private message
kirani
PostPosted: Thu Jun 10, 2004 9:58 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Well, other option is risky. What happens if IBM changes the table schema with next CSD release? It'll be simple to write a plug-in node to get queue manager name at runtime. It's one function call. Please search in this forum and you will find references to that function.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
EddieA
PostPosted: Thu Jun 10, 2004 11:10 am    Post subject: Reply with quote

Jedi

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

Or think about your design, and why you actually need (or more likely think you need) the QM name.

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 » Broker Queue manager name in a compute node
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.