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 Java / JMS » Keep it after read

Post new topic  Reply to topic
 Keep it after read « View previous topic :: View next topic » 
Author Message
techno
PostPosted: Wed Apr 28, 2004 2:01 pm    Post subject: Keep it after read Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 28, 2004 2:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
techno
PostPosted: Thu Apr 29, 2004 7:29 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 29, 2004 7:37 am    Post subject: Reply with quote

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
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 Java / JMS » Keep it after read
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.