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 » Polling in Message Broker

Post new topic  Reply to topic
 Polling in Message Broker « View previous topic :: View next topic » 
Author Message
sap3
PostPosted: Thu Jan 05, 2012 8:40 pm    Post subject: Polling in Message Broker Reply with quote

Newbie

Joined: 11 Aug 2011
Posts: 9

Hi
I have a requirement...that i have to keep polling the message flow for every 120seconds but this i have to do it for multiple threads...

say suppose i'm sending a request to a message flow0
so this same request i have to send again to message flow1
again i have to send same request to message flow2
again i have to send same request to message flow3 like this to till message flow9
and all the above flows should keep continously polling every 120seconds...it should keep doing like that...

All this should be in one message flow project...

so i would like to know is multiple threads concept available in message broker or not? or i'm thinking whether i can accomplish this by using timer nodes?

if anyone have some ideas that will be greately appreciated...

Thank you so much...

Thanks,
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Jan 05, 2012 10:55 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Here we go again.

Message Flows don't run unless there is something for them to do. You can't poll them.

For example,
A message flow with an MQInputNode at the start sits dormant/inactive/idle UNTIL a message is written to the queue defined in the Node Properties AND that message is committed.

Please explain how you can Poll that for data when it is idle?

I do strongly recommend that you and especially whoever is giving you these 'so called requirements' attend some formal training. This will stop you wasting your time trying to fufill requirements that are plainly impossible.

I do know what it is like trying to make broker fit a spec that was written by someone without even a rudimentary understanding of how Broker works. Been there done that, got the 'T-shirt'.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jan 06, 2012 5:17 am    Post subject: Re: Polling in Message Broker Reply with quote

Grand High Poobah

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

sap3 wrote:
if anyone have some ideas that will be greately appreciated...


Push back on the requirement and find out what you actually need to achieve. This sounds a lot like a technical solution written by someone who knows nothing about WMB rather than a design requirement.

Polling message flows? Why would you poll a message flow? Why would you send them a request for any reason other than as a positive attempt to elicit a response? Doesn't make sense.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Jan 06, 2012 5:44 am    Post subject: Re: Polling in Message Broker Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

sap3 wrote:
Hi
I have a requirement...that i have to keep polling the message flow for every 120seconds but this i have to do it for multiple threads...

say suppose i'm sending a request to a message flow0
so this same request i have to send again to message flow1
again i have to send same request to message flow2
again i have to send same request to message flow3 like this to till message flow9
and all the above flows should keep continously polling every 120seconds...it should keep doing like that...

All this should be in one message flow project...

so i would like to know is multiple threads concept available in message broker or not? or i'm thinking whether i can accomplish this by using timer nodes?

if anyone have some ideas that will be greately appreciated...

Thank you so much...

Thanks,


Sounds like someone was sleeping during the WM663 class.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
adrian_
PostPosted: Fri Jan 06, 2012 6:39 am    Post subject: Reply with quote

Novice

Joined: 06 Jan 2012
Posts: 13

sap3 please explain again (and better) what you are really want to do before someone can give you a solutions.
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 » Polling in Message Broker
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.