|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
2 message flows taking the messages from one Input QUeue |
« View previous topic :: View next topic » |
Author |
Message
|
codered |
Posted: Sun Nov 16, 2014 4:24 pm Post subject: 2 message flows taking the messages from one Input QUeue |
|
|
Novice
Joined: 09 Feb 2014 Posts: 13
|
I have 2 basic message flows with MQInput nodes and both pics the messages fromt he same queue. ON the queue i have ipprocs=2 and they are connected in shared input mode.
Case-1:
with debugger enabled, I have placed 4 messages at a time and 2 flows are picking the messages, each flow one messages and executing as parallel threads.
Case-2:
NOw with the debugger I have placed one message then debugged it and then placed another message. Followed the same process for 2 or 3 messsages, only one flow is always picking the message, why the second thread is not picking the messages?
Can any one throw some light here?
I am trying this out so as to get the clarity on the MQINput node behaviour. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Sun Nov 16, 2014 7:03 pm Post subject: Re: 2 message flows taking the messages from one Input QUeue |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
codered wrote: |
ON the queue i have ipprocs=2 |
correct..
codered wrote: |
Case-1:
with debugger enabled, I have placed 4 messages at a time and 2 flows are picking the messages, each flow one messages and executing as parallel threads.
Case-2:
NOw with the debugger I have placed one message then debugged it and then placed another message. Followed the same process for 2 or 3 messsages, only one flow is always picking the message, why the second thread is not picking the messages?
|
Did you mean you're trying to test round-robin distribution, at MQInput node, at WMB level ?
What does IBM Info Center say about MQInput Node, did you check ?
What's the objective of testing MQInput Node behaviour ?
which version of WMB ?
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Nov 17, 2014 5:24 am Post subject: Re: 2 message flows taking the messages from one Input QUeue |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
codered wrote: |
Can any one throw some light here? |
Can you throw some light on why you expected it not to work this way? Why would you expect, if one application can keep up with the message traffic, another application to kick in?
codered wrote: |
I am trying this out so as to get the clarity on the MQINput node behaviour. |
This is nothing to do with the broker. The flow will result in an MQGet call against the queue just like any other application. Which call is satisfied by an arriving message is down to the queue manager. _________________ 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
|
|
|
|