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 » How to handle node name in compute node

Post new topic  Reply to topic
 How to handle node name in compute node « View previous topic :: View next topic » 
Author Message
SANTYP
PostPosted: Wed Nov 18, 2009 12:06 am    Post subject: How to handle node name in compute node Reply with quote

Centurion

Joined: 27 Mar 2007
Posts: 142

Hi All,
I want to access node name in the compute node how to don that..
I mean I have 4 input nodes, compute node.. and output node..
In compute node I want to know which from which node my message is comming how to do that..?

please help me....
Back to top
View user's profile Send private message
AkankshA
PostPosted: Wed Nov 18, 2009 12:37 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

Do not Double post... it does not help

http://www.mqseries.net/phpBB2/viewtopic.php?p=264260#264260
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
jonasb
PostPosted: Wed Nov 18, 2009 12:49 am    Post subject: Reply with quote

Apprentice

Joined: 20 Dec 2006
Posts: 49
Location: Sweden

The simplest way I can come up with is to add a compute node after each input node and set a specific value in localenvironment.

Example
In ComputeConfig1
set Outputlocalenvironment.input = 1;

When you then get to the common compute node you can, by reading the value in localenvironment, know from which input node the message originates.

input1 -> ComputeConfig1 \
input2 -> ComputeConfig2 | ---> Compute
input3 -> ComputeConfig3 |
input4 -> ComputeConfig4 /

Perhaps there is a more elegant solution?
_________________
contact admin
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 » How to handle node name in 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.