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 step.

On the other hand, if you use receive(), then the ACK has been already sent if 
receive() has returned.

Since I do not know the internal implementation of the JBoss IL very well, this 
is not the full story.

Hope that helps a bit, Jörg


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930015#3930015

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930015


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to