Sends an AMQP message and waits for an acknowledgement. The acknowledgement handler is called with an
{@link AsyncResult} marked as failed if the message has been rejected or re-routed. If the message has been accepted,
the handler is called with a success.
@param message the message, must not be {@code null}
@param acknowledgementHandler the acknowledgement handler, must not be {@code null}
@return the current sender
Sends an AMQP message and waits for an acknowledgement. The acknowledgement handler is called with an {@link AsyncResult} marked as failed if the message has been rejected or re-routed. If the message has been accepted, the handler is called with a success.
@param message the message, must not be {@code null} @param acknowledgementHandler the acknowledgement handler, must not be {@code null} @return the current sender