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 » Issue with Shared Variable

Post new topic  Reply to topic
 Issue with Shared Variable « View previous topic :: View next topic » 
Author Message
Vamsi Krishna
PostPosted: Wed Oct 15, 2014 6:51 pm    Post subject: Issue with Shared Variable Reply with quote

Acolyte

Joined: 12 May 2014
Posts: 53

Hi, I am having two message flows the first one is saving the header of the XML message using shared variables and it is sent for processing on some other technology and sent back to the second flow input queue i want to add those headers to the message from first flow.

I have observed when debugging the variable is copying the tree of header and when coming out of compute node i am not able to see the variable. could any one please help me with this issue.
Back to top
View user's profile Send private message
Simbu
PostPosted: Wed Oct 15, 2014 10:36 pm    Post subject: Reply with quote

Master

Joined: 17 Jun 2011
Posts: 289
Location: Tamil Nadu, India

We can examine the shared variables only when we are step through the code line by line in compute node.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Oct 15, 2014 10:51 pm    Post subject: Reply with quote

Grand High Poobah

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

Shared variables are not shared between different flows. They are only shared among multiple invocations of the same flow. What you want to do here is save the information either by putting it on a queue or into a cache and retrieve it at second flow processing time.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vamsi Krishna
PostPosted: Thu Oct 16, 2014 1:19 am    Post subject: Reply with quote

Acolyte

Joined: 12 May 2014
Posts: 53

fjb_saper wrote:
Shared variables are not shared between different flows. They are only shared among multiple invocations of the same flow. What you want to do here is save the information either by putting it on a queue or into a cache and retrieve it at second flow processing time.

Have fun


Hello fjb_saper the cache we should use with java compute node but i am not familiar with java is there any other we can solve this
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Oct 16, 2014 1:21 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

This is looking like it is a standard use of Aggregation.

Look at the samples and the many discussions here on this subject.
_________________
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
View user's profile Send private message
Vamsi Krishna
PostPosted: Thu Oct 16, 2014 6:33 pm    Post subject: Reply with quote

Acolyte

Joined: 12 May 2014
Posts: 53

smdavies99 wrote:
This is looking like it is a standard use of Aggregation.

Look at the samples and the many discussions here on this subject.


Hi Davies,
Thanks for your reply i will try with the aggregation nodes and get back to you
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 » Issue with Shared Variable
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.