|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Subflow semaphore |
« View previous topic :: View next topic » |
Author |
Message
|
Gama |
Posted: Wed Jan 14, 2015 3:27 pm Post subject: Subflow semaphore |
|
|
 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 |
|
 |
shashivarungupta |
Posted: Wed Jan 14, 2015 4:28 pm Post subject: |
|
|
 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 |
|
 |
Gama |
Posted: Thu Jan 15, 2015 6:12 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Thu Jan 15, 2015 6:14 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|