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 variable in JavaCompute node.

Post new topic  Reply to topic
 SHARED variable in JavaCompute node. « View previous topic :: View next topic » 
Author Message
visasimbu
PostPosted: Tue May 18, 2010 8:38 pm    Post subject: SHARED variable in JavaCompute node. Reply with quote

Disciple

Joined: 06 Nov 2009
Posts: 171

ESQL compute node supports cache memory ("SHARED") variables. In Javacompute node how can i achieve this ?

In my code, i try to fetch the 5 rows from DB using select command by MBSqlStatement. This 5 rows are stored in environment variable. I want to store it in cache (SHARED) variable. In java it is not allowing me to do.

How can i do this one. Please help me...
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed May 19, 2010 2:28 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You can not access ESQL SHARED variables from the java runtime engine.
Back to top
View user's profile Send private message
jbanoop
PostPosted: Wed May 19, 2010 4:56 am    Post subject: Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

you can try using static methods / variables in java to replicate the same functionality.
Back to top
View user's profile Send private message Yahoo Messenger
visasimbu
PostPosted: Thu May 27, 2010 12:53 am    Post subject: Reply with quote

Disciple

Joined: 06 Nov 2009
Posts: 171

Thanks for everyone..

I got the solution. I implemented it in java objects.

Thank you for everyone.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SHARED 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.