Yes - it blocks until all the send threads' message queues have been drained.
Joel On Tue, Mar 13, 2012 at 1:04 PM, Niek Sanders <niek.sand...@gmail.com>wrote: > Will calling close() on the async producer block until the message > queue has emptied? > > If not, how does one wait till all messages have been sent out? > > Thanks, > Niek >