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 » SHARED ESQL variable in JAVACompute node

Post new topic  Reply to topic
 SHARED ESQL variable in JAVACompute node « View previous topic :: View next topic » 
Author Message
marcin.kasinski
PostPosted: Wed May 16, 2007 8:47 am    Post subject: SHARED ESQL variable in JAVACompute node Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Hello,

Is there any chance to read/manipulate ESQL SHARED variable in JAVACompute node ?
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Wed May 16, 2007 9:21 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Nope.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Wed May 16, 2007 10:19 pm    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

jefflowrey wrote:
Nope.


OK.


What is the best way to share Long-lived variables between JAVACompute and ESQL ?

I'm thinking about :

JAVA Singleton -> Environment tree -> ESQL SHARED variable
ESQL SHARED variable -> Environment tree -> JAVA Singleton

What do you think, is there any better way ?
_________________
Marcin


Last edited by marcin.kasinski on Thu May 17, 2007 5:44 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Thu May 17, 2007 5:35 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Use a Java method of sharing a variable (threadlocal or singleton), and write static procedures to access that variable that you can call from ESQL.

Or just use the Environment tree directly...
_________________
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 » SHARED ESQL variable in JAVACompute 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.