|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Keep it after read |
« View previous topic :: View next topic » |
Author |
Message
|
techno |
Posted: Wed Apr 28, 2004 2:01 pm Post subject: Keep it after read |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
How do I keep a message (in a queue) as it is after it is read without deletion. Browse can be done. But how do I mark that message after it is browsed so that it is not browsed again?
Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Apr 28, 2004 2:03 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Get it in a transaction, and then roll back the transaction.
This should update the backout count.
Or get it, and then put it yourself with a changed field of your own choosing.
But you really shouldn't do either of these without a very good reason. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
techno |
Posted: Thu Apr 29, 2004 7:29 am Post subject: |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
Thanks for ideas.
We may not go for first choice. We are using backout-q for bad messages(depending on backout count). If good messages get rolled-back, both bad and good messages get mixed up. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 29, 2004 7:37 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
techno wrote: |
We are using backout-q for bad messages(depending on backout count). If good messages get rolled-back, both bad and good messages get mixed up. |
Like I said, you really shouldn't do this without a good reason.
If you're trying to filter messages on a queue, use another queue for the output. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|