Author |
Message
|
rajbuddha |
Posted: Thu Oct 27, 2011 5:40 am Post subject: Flow can listen more than one queue ??? |
|
|
 Apprentice
Joined: 02 Aug 2011 Posts: 47 Location: chennai
|
Hi All ,
I was asked to develop a flow which will listen to a queue , and needs to be send the same for the two queue , I have to repeat the same for the 7 more components .So finally i will have 8 flows listening to 8 queues . My question is can we have a single generic flow which be listening to all these queues and route accordingly .Please help me out _________________ -----------
Raju Buddha
Never Wait for your 2nd Opportunity..!Becoz it may be harder than the 1st One... |
|
Back to top |
|
 |
Vitor |
Posted: Thu Oct 27, 2011 5:46 am Post subject: Re: Flow can listen more than one queue ??? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
rajbuddha wrote: |
My question is can we have a single generic flow which be listening to all these queues and route accordingly |
Why would you think you can't? Be aware of what how such a flow will run.
rajbuddha wrote: |
Please help me out |
If you demonstrate you're trying to help yourself  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
rajbuddha |
Posted: Thu Oct 27, 2011 5:50 am Post subject: Flow can listen more than one queue ??? |
|
|
 Apprentice
Joined: 02 Aug 2011 Posts: 47 Location: chennai
|
Hi vitor ,
Can you please give me a basic idea on this Generic flow .
So a flow can listen more than one queue ??? _________________ -----------
Raju Buddha
Never Wait for your 2nd Opportunity..!Becoz it may be harder than the 1st One... |
|
Back to top |
|
 |
Vitor |
Posted: Thu Oct 27, 2011 5:54 am Post subject: Re: Flow can listen more than one queue ??? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
rajbuddha wrote: |
Can you please give me a basic idea on this Generic flow . |
You have a flow that listens on more than one queue. It uses the information available (including perhaps the queue a message actually arrived on) to route the message.
Anything else, we need to discuss where I send my invoice.
rajbuddha wrote: |
So a flow can listen more than one queue ??? |
Why not? There are some points to consider, as there is with most aspects of WMB (or any code) design.
There's no good reason why a flow can't listen on a queue, read a file and accept a SOAP request if all provide the same or similar payloads. There may be good reasons why you wouldn't want to do that in some circumstances. It's all a question of design. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
zpat |
Posted: Thu Oct 27, 2011 5:55 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Can a flow have more than one input node - YES.
Can input nodes "listen" on a queue - YES.
It would take one minute to try this out surely? |
|
Back to top |
|
 |
Vitor |
Posted: Thu Oct 27, 2011 5:57 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
zpat wrote: |
It would take one minute to try this out surely? |
Part of what I was driving at with the "demonstrate you're helping yourself" line.
But I'm wearing my fluffy personality today. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|