Dimka Noneen [
http://community.jboss.org/people/k85] created the discussion
"Keeping message in inbox queue until it will be processed successfully -
possible?"
To view the discussion, visit:
http://community.jboss.org/message/536732#536732
--------------------------------------------------------------
Hi!
In general I have MDB which consums messages and call onMessage method. And the problem is
that messages
will be deleted when MDB will be called to proceed message. So, it is only one chance to
process this
message. I dont want to resend the message again, so setRollbackOnly not a solution.
So the question is - is it possible to delete message from inbox queue only after success
processing the message?
Or to put a message back to inbox queue with less priority?
I thing that it is bad solution because of it will cycle and it is hard to controll it.
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/536732#536732]
Start a new discussion in JBoss Messaging at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]