Yikes. I think it is a good practice to routinely restart the
browse first after you get to the end. However, this has much broader
implications. The extreme case would be a very busy queue that seldom
empties? Then you have unattended messages at the top of the queue while those
near the bottom are getting worked. Or, suppose app A and app B, running
concurrently, each put 2 messages within a unit of work and App
C is browsing the messages. Then you could have something like
this:
In this example, the put order is
1,2,3,4 but the get order is 2,3,4,1. Messages 1 is retrieved out of
sequence even though all conditions for sequential retrieval are being met!
And that's assuming you deliberately restart the browse cursor. Fail to do that
and msg 1 gets stranded. It gives me pause to rethink the practicality of
browsing
|
Title: Message
- browse question Darren Douch
- browse question Darren Douch
- Re: browse question Miller, Dennis
- Re: browse question Darren Douch
- Re: browse question John Scott
- Re: browse question Miller, Dennis
- Re: browse question Darren Douch
- Re: browse question Miller, Dennis
- Re: browse question Robert Broderick
- Re: browse question Miller, Dennis
- zOS WebSphere MQ software flash Neil Casey
- Re: browse question Robert Broderick