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 » Using ATOMIC Statements in PROPAGATE

Post new topic  Reply to topic
 Using ATOMIC Statements in PROPAGATE « View previous topic :: View next topic » 
Author Message
Prasi
PostPosted: Mon Dec 16, 2013 1:06 pm    Post subject: Using ATOMIC Statements in PROPAGATE Reply with quote

Apprentice

Joined: 03 Aug 2011
Posts: 42

Hi,

Is there anyway we can use ATOMIC blocks which has PROPAGATE statements? I know we cant but if there is some workaround, that can be very much helpful.
Back to top
View user's profile Send private message
ajodowd
PostPosted: Mon Dec 16, 2013 4:34 pm    Post subject: Reply with quote

Novice

Joined: 15 Dec 2013
Posts: 13

Hi Prasi,

I assume that you mean ATOMIC as in http://pic.dhe.ibm.com/infocenter/wmbhelp/v9r0m0/topic/com.ibm.etools.mft.doc/ak04940_.htm

ATOMIC effectively serializes processing, so it's interesting to know why you need to do this across a PROPAGATE statement, which potentially has a very large scope (all the downstream processing in a flow)

Can you share what you're trying to achieve in terms of flow processing?

Thanks, Anthony.
Back to top
View user's profile Send private message
Prasi
PostPosted: Tue Dec 17, 2013 7:13 am    Post subject: Reply with quote

Apprentice

Joined: 03 Aug 2011
Posts: 42

Hi Anthony,

Thanks for the reply. I would like to update a shared variable. The thing is the shared variable values will be updated based on some if-else condition and propagated to different 'OUT' terminals.
Back to top
View user's profile Send private message
ajodowd
PostPosted: Wed Dec 18, 2013 12:56 am    Post subject: Reply with quote

Novice

Joined: 15 Dec 2013
Posts: 13

Hi Prasi,

The ATOMIC block is just right for updating the shared variable. After this block, you can then PROPAGATE. If you're trying to hold the value of the shared variable during the duration of the PROPAGATE, then you'd have some very large serialisation issues, as everything else would be help up behind it.

Is there any reason why you cannot update the shared variable in the block, copy the value to a local variable (e.g. the message tree) and PROPAGATE as normal? In this way, you'd get the sharing across instances that you need, and not synchronise downstream.

Does that help at all?

Anthony.
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 » Using ATOMIC Statements in PROPAGATE
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.