[rabbitmq-discuss] Clustering Internals
Matthew Sackman
matthew at rabbitmq.com
Thu Mar 24 23:09:51 GMT 2011
On Thu, Mar 24, 2011 at 02:17:06PM -0600, Jason J. W. Williams wrote:
> By "instantly released" I mean the client doesn't wait for a return_ok or
> error on a publish command.
Correct. Basic.Publish is an async method which is entirely fire and
forget. Any responses to it are equally async. The distinction is
important: pipelining is possible of async methods whereas it is not of
sync methods. Thus you can't issue two queue.declares after each other
without waiting for the first queue.declare_ok to come back, where as
you can issue two basic.publishes straight after each other and then
later on, the first evokes a basic.return.
Matthew
More information about the rabbitmq-discuss
mailing list