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 » 2 message flows taking the messages from one Input QUeue

Post new topic  Reply to topic
 2 message flows taking the messages from one Input QUeue « View previous topic :: View next topic » 
Author Message
codered
PostPosted: Sun Nov 16, 2014 4:24 pm    Post subject: 2 message flows taking the messages from one Input QUeue Reply with quote

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
View user's profile Send private message
shashivarungupta
PostPosted: Sun Nov 16, 2014 7:03 pm    Post subject: Re: 2 message flows taking the messages from one Input QUeue Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Nov 17, 2014 5:24 am    Post subject: Re: 2 message flows taking the messages from one Input QUeue Reply with quote

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
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 » 2 message flows taking the messages from one Input QUeue
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.