Author |
Message
|
rsmile |
Posted: Wed Feb 27, 2008 7:20 am Post subject: How to Browse Queue from Message Flow in WMB 6.0.2 |
|
|
Apprentice
Joined: 13 Feb 2008 Posts: 38
|
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Feb 27, 2008 7:27 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You almost certainly don't need to browse the queue from a Flow.
What is the actual requirement, and why are you so sure you can't accomplish it with Get by ID and/or Syncpoint? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
rsmile |
Posted: Wed Feb 27, 2008 9:45 pm Post subject: |
|
|
Apprentice
Joined: 13 Feb 2008 Posts: 38
|
I need to do browse as I'm not the actual consumer of the message. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 28, 2008 1:01 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
rsmile wrote: |
I need to do browse as I'm not the actual consumer of the message. |
So the question remains - if you're not consuming the message why do you need to browse it? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Feb 28, 2008 2:39 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The real problem with trying to browse messages in which you are not the (final) consumer is that...
You have no guarantee that you will be able to do so successfully. The actual consumer may steal the message when you aren't looking at it.
Even worse - the fact that you're browsing it at the time may prevent the consumer from getting the message in a timely fashion, or at all.
There isn't a good way to do what you want to do in v6.0. That doesn't mean it can't be done, just that there isn't a straight forward way to do it.
And again, there's almost certainly a better way to meet your requirement. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
zpat |
Posted: Thu Feb 28, 2008 3:04 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Sounds like a pub/sub requirement.
Or use a message flow to duplicate the messages and consume the copy of it in this flow.
Browsing rarely has a place in a production application. It is inherent non-ACID. |
|
Back to top |
|
 |
mqmatt |
Posted: Thu Feb 28, 2008 4:50 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
...or as you observed, migrate to v6.1 where you'll get browse options on the MQ nodes
(I have tremendous difficulty typing in the word 'browse'. By the time I get to the third letter, my fingers think I'm typing 'broker'...) |
|
Back to top |
|
 |
|