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 » Flow shared variables - differences between 6.1 FP3 and FP4

Post new topic  Reply to topic
 Flow shared variables - differences between 6.1 FP3 and FP4 « View previous topic :: View next topic » 
Author Message
mattynorm
PostPosted: Tue Jun 15, 2010 2:22 am    Post subject: Flow shared variables - differences between 6.1 FP3 and FP4 Reply with quote

Acolyte

Joined: 06 Jun 2003
Posts: 52

Have a flow that declares 2 shared booleans, and sets each one individually dependent on the input message. It then checks to make sure both are TRUE before continuing processing.

This works fine under FP03, but when testing it against a Broker at FP04, when the second message comes into the flow, the shared boolean that should have been TRUE'd by the first message is NULL again (and if I run the first message in again, the one set by the second message has NULLed again).

Anyone else experienced this (both brokers are 6.1 running on Solaris), and know if moving to a later fixpack (probably FP07) will sort it out?


Thanks
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Jun 15, 2010 5:46 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

i wonder what kind of logic is this, and i would like to know, what you are trying to achieve from this.

i would rather think of using RFH Headers to get rid off from these shared or global variable(s)
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Jun 15, 2010 5:48 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

We experienced some severe issues with previously working message flows in WMB 6.1.04 and rapidly moved to WMB 6.1.05.

I recommend you do the same, or look at WMB 6.1.07
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Jun 15, 2010 5:56 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

zpat wrote:
We experienced some severe issues with previously working message flows in WMB 6.1.04 and rapidly moved to WMB 6.1.05.

I recommend you do the same, or look at WMB 6.1.07


then it's a PMR on top of PMR
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
mattynorm
PostPosted: Tue Jun 15, 2010 6:39 am    Post subject: Reply with quote

Acolyte

Joined: 06 Jun 2003
Posts: 52

Quote:
i wonder what kind of logic is this, and i would like to know, what you are trying to achieve from this


We have 2 data completion events (once a day), which are published to this flow (they don't have any rfh headers on the messages). These events are also written to a database table. Originally the flow took the event, then went to the database to see if the other event had occured on that day, and if so continued processing. The problem with this was that the event was written to the db marginally before the event was published to the flow, so if the 2 events happpened at almost exactly the same time, when the first event went through the flow, the db entry for the second event was already there, so the processing continued, then when the 2nd event went through the flow it kicked off the processing again.

The use of the 2 booleans was so that we could ensure the subsequent processing only ran once. It's a sticking plaster for another problem, but that problem isn't going to get fixed any time soon.
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Jun 15, 2010 6:42 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Always update shared variables inside a BEGIN ATOMIC clause.
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 » Flow shared variables - differences between 6.1 FP3 and FP4
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.