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 » how to do MQBrowse

Post new topic  Reply to topic
 how to do MQBrowse « View previous topic :: View next topic » 
Author Message
miron
PostPosted: Wed Aug 07, 2002 10:53 am    Post subject: how to do MQBrowse Reply with quote

Apprentice

Joined: 27 Jun 2002
Posts: 39
Location: New York

Hi,

Is there any way to do mqbrowse within the flow so the message is not lost and can be used by different run of same flow?

Thanks.
Miron
Back to top
View user's profile Send private message
sgopal
PostPosted: Wed Aug 07, 2002 11:44 am    Post subject: Reply with quote

Acolyte

Joined: 30 Jul 2002
Posts: 63

Miron,

There is no option in WMQI Input node to just browse the message. You need to develop your own plugin nodes to do mqbrowse on the queue.
(you may modify the MQGET plugin )

If first instance of message flow fails, the next instance of message flow can pick-up the same message - You wont lose the message as WMQI handles, if message flow is under coordinate transaction.
Back to top
View user's profile Send private message
Miriam Kaestner
PostPosted: Wed Aug 07, 2002 11:56 pm    Post subject: Reply with quote

Centurion

Joined: 26 Jun 2001
Posts: 103
Location: IBM IT Education Services, Germany

Even without plugin node, you could use rollback to achieve a browse.
Example:
MQInput (transactional) --out--> Compute (inspect DB, on certain condition THROW) --> MQOutput

So, the first time the msg is gotten the database condition may not be true, and the flow is rolled back.
Next time, the database may have changed and the flow succeeds, permanently removing the msg from inputQ

Bear in mind that you have to use a database to store state information between (instances of) message flows.
And, your input queue must have set BOTHRESH to a value > 0.
Your inputQ will be blocked by the rolled-back message, if you are reading FIFO (and not by MsgId or CorrelID).
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » how to do MQBrowse
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.