Thank you. it is really useful.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931032#3931032
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931032
---
This SF.Net
Questions answered in the spec, are not answered here.
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930942#3930942
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39309
Thank you very much.
it is very helpful.
I still have one question.
I winder what is purpose to use CLIENT_ACKNOWLEDGE.
Because using auto_ack is simple and fast.
Why to use CLIENT_ACKNOWLEDGE or DUPS_OK_ACKNOWLEDGE.
Chwang
View the original post :
http://www.jboss.com/index.html?module=bb&op
If you have auto-acknowledgement enabled, the client acks every message
received automatically.
If you use onMessage() to process your messages, the ACK is send on returning
from onMessage(). So if you do all your processing inside onMessage(), the
single ACK will be send after each processing