The new java producer to be released in 0.8.2 supports a callback on each
message sent asynchronously.

Thanks,

Jun

On Thu, Oct 23, 2014 at 3:26 PM, Libo Yu <yu_l...@hotmail.com> wrote:

> Hi,
>
> If I use async publishing  plus  message acknowledgement,
> is there any API to tell when all the messages in the queue
> have been sent out?
>
> This will be used in the shutdown hook to make sure when
> the process is down there is no pending messages to be
> published.
>
> Thanks,
>
> Libo
>

Reply via email to