Author |
Message
|
HIMAGAR |
Posted: Fri Nov 06, 2015 2:25 am Post subject: Message Broker - Java Compute Node |
|
|
Novice
Joined: 05 Nov 2015 Posts: 18
|
Is it possible to access Environment variable that was set in previous compute node...
My Flow is like this..
MQ Input ----> Compute -----> Java Compute.
Inside Compute...Node, I am setting one Env. variable
e.g.
SET Environment.Variables.TEST = 'TEST';
I need to access this TEST Variable in Java Compute Node..
Is this possible..
If Yes, then please suggest how ?
Thanks,
HIMAGAR |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Nov 06, 2015 3:11 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Yes it is. This question has been asked (and answered) a number of times before.
The search box in the upper right of the screen will help you locate your solution. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Nov 06, 2015 7:01 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
It's also directly documented in the knowledge center that discusses writing java compute node code.
Happy reading! _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
Vitor |
Posted: Fri Nov 06, 2015 7:16 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
It's also directly documented in the knowledge center that discusses writing java compute node code. |
On the plus side, the OP has taken your advice here and is trying to use JDBC.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Nov 06, 2015 7:27 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
the OP has taken your advice here and is trying to use JDBC. |
That was more of a suggestion for something that might work, rather than strictly advice.
But, yes, that's very encouraging.  _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
|