接口 RocketMQLocalRequestCallback<T>

  • 类型参数:
    T - the type of message that wanted to receive from consumer

    public interface RocketMQLocalRequestCallback<T>
    Classes implementing this interface are used for processing callback events after receiving reply messages from consumers.
    • 方法详细资料

      • onSuccess

        void onSuccess​(T message)
      • onException

        void onException​(Throwable e)