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 » IBM MQ API Support » How to Browse Queue from Message Flow in WMB 6.0.2

Post new topic  Reply to topic
 How to Browse Queue from Message Flow in WMB 6.0.2 « View previous topic :: View next topic » 
Author Message
rsmile
PostPosted: Wed Feb 27, 2008 7:20 am    Post subject: How to Browse Queue from Message Flow in WMB 6.0.2 Reply with quote

Apprentice

Joined: 13 Feb 2008
Posts: 38

Hi All,

I have a need that I need to browse a queue by using MQInput or MQGet node from a message flow.

I got to see in the article below:

http://www.ibm.com/developerworks/websphere/library/techarticles/0802_dunn/0802_dunn.html

WBI MB 6.1 has the MQInput & MQGet nodes which have properties to browse the queues.

But I'm using WBI MB 6.0.2 and not sure how to satisfy this requirement.Is there any support pac in this regard?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 27, 2008 7:27 am    Post subject: Reply with quote

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
View user's profile Send private message
rsmile
PostPosted: Wed Feb 27, 2008 9:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu Feb 28, 2008 1:01 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 28, 2008 2:39 am    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Thu Feb 28, 2008 3:04 am    Post subject: Reply with quote

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
View user's profile Send private message
mqmatt
PostPosted: Thu Feb 28, 2008 4:50 am    Post subject: Reply with quote

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
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 » IBM MQ API Support » How to Browse Queue from Message Flow in WMB 6.0.2
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.