« Return to Thread: Ask for clarification of ACK

Ask for clarification of ACK

by Jeff Xiong :: Rate this Message:

Reply to Author | View in Thread

Hi there.

I'm thinking about the behavior of ACK. According to the protocol spec,

"When a client has issued a SUBSCRIBE frame with the ack header set to
client any messages received from that destination will not be
considered to have been consumed (by the server) until the message has
been acknowledged via an ACK."

Then what should the broker do if it sends out the message but can't
get ACK from client? Should it resend? What if the client goes down?
Should the broker store the message in some persistent manner and wait
for another subscriber? Can someone help me to answer the question?

--
Jeff Xiong
Software Journeyman - http://gigix.thoughtworkers.org
Open Source Contributor - http://stomperl.googlecode.com/
Technical Evangelist - http://www.infoq.com/cn/

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

 « Return to Thread: Ask for clarification of ACK