Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

producer.asyncSend(newMessage,
        (message) -> messageSuccessHandler(message),
        (message, exception) -> messageFailureHandler(message, exception));

The asyncSend method takes the following parameters: