|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
how to do MQBrowse |
« View previous topic :: View next topic » |
Author |
Message
|
miron |
Posted: Wed Aug 07, 2002 10:53 am Post subject: how to do MQBrowse |
|
|
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 |
|
 |
sgopal |
Posted: Wed Aug 07, 2002 11:44 am Post subject: |
|
|
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 |
|
 |
Miriam Kaestner |
Posted: Wed Aug 07, 2002 11:56 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|