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 » Subflow semaphore

Post new topic  Reply to topic
 Subflow semaphore « View previous topic :: View next topic » 
Author Message
Gama
PostPosted: Wed Jan 14, 2015 3:27 pm    Post subject: Subflow semaphore Reply with quote

Centurion

Joined: 11 Jan 2005
Posts: 103
Location: Portugal

Hi,
I need to implent in Message Broker 8 some kind of subflow semaphore control.
I’ve two message flows that use the same subflow (subf1), till now all ok.
Exist any way to put/create/configure any kind of semaphore to:
When the msgf1 > subf1 > msgf1 is processing the call of the subf1 from msgf2 (msgf2 > subf1 > msgf2) must wait until the 1st subf1 ends.

msgf1 > subf1 > msgf1
msgf1 > subf1 > msgf1

The only way is implementing semaphore using global variables?
Best regads,
Gama
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Jan 14, 2015 4:28 pm    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

I am too sure that I have completely understood your problem statement but if you're looking for some parallel processing and need to avoid dead locks while doing that using some shared resources, need to take care of wait and signal mechanism.

The bigger question is if you could use global variables or global chache or other mechanism to achieve it.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Gama
PostPosted: Thu Jan 15, 2015 6:12 am    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2005
Posts: 103
Location: Portugal

shashivarungupta wrote:
I am too sure that I have completely understood your problem statement but if you're looking for some parallel processing and need to avoid dead locks while doing that using some shared resources, need to take care of wait and signal mechanism.

The bigger question is if you could use global variables or global chache or other mechanism to achieve it.


Hi,

Yes I need for the subf1 does not work in parallel from other message flows.

Is that possible?

Best regards,
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jan 15, 2015 6:14 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Gama wrote:
Is that possible?


If you use something (like the global cache) that is a singular storage item and is available to all of the flow instances no matter where they're running.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Subflow semaphore
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.