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 » Fetching Hostnme thru msg flow

Post new topic  Reply to topic
 Fetching Hostnme thru msg flow « View previous topic :: View next topic » 
Author Message
EAI_GURU
PostPosted: Wed Oct 24, 2007 1:33 am    Post subject: Fetching Hostnme thru msg flow Reply with quote

Newbie

Joined: 18 Jul 2007
Posts: 9

Hi ,

How can we fetch the host name of the machine through message flows (esql/java)
Back to top
View user's profile Send private message
Gaya3
PostPosted: Wed Oct 24, 2007 1:45 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

Which OS you are using. are you using WBIMB 6

Through java you can fetch the host name.

you can use system executable command.

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 24, 2007 1:48 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Do a Java node & use a System function?

(Whilst I'm certain that such a function exists in Java, I'm equally certain the Easter Bunny exists. More competent Java people may wish to correct me).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Wed Oct 24, 2007 1:58 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

Look this site.....

Using java.net package you can achieve the host name details.

http://www.devx.com/tips/Tip/13284

Sorry for confusing with the word System executable , the above is what i meant.

Regards
Gayathri
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 24, 2007 2:07 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Gaya3 wrote:
Sorry for confusing with the word System executable , the above is what i meant.


Hey, I can confuse myself with Java quite easily, any efforts on your part will not make things noticably worse.

(Whatever happened to C? Damn progress!)

_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Oct 24, 2007 2:40 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

hostname would be a great broker attribute that you could get from ESQL.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
EAI_GURU
PostPosted: Wed Oct 24, 2007 5:13 am    Post subject: Reply with quote

Newbie

Joined: 18 Jul 2007
Posts: 9

Thanks !!!! it works
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Oct 24, 2007 8:06 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

bower5932 wrote:
hostname would be a great broker attribute that you could get from ESQL.

Who needs the host name when the associated name of the broker's qmgr is just as specific if not even more so... You can have multiple brokers on the same machine but only 1 per qmgr... so the qmgr name will identify both the machine and the broker...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Oct 25, 2007 4:46 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Of course, you can also just ask for the Broker name from ESQL.
_________________
I am *not* the model of the modern major general.
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 » Fetching Hostnme thru msg 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.