[jboss-user] [JBoss Messaging] - Keeping message in inbox queue until it will be processed successfully - possible?

Dimka Noneen do-not-reply at jboss.com
Sat Apr 10 10:33:46 EDT 2010


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&containerType=14&container=2042]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100410/54c3cae6/attachment.html 


More information about the jboss-user mailing list