接口 RocketMQReplyListener<T,​R>

  • 类型参数:
    T - the type of data received by the listener
    R - the type of data replying to producer

    public interface RocketMQReplyListener<T,​R>
    The consumer supporting request-reply should implement this interface.
    • 方法详细资料

      • onMessage

        R onMessage​(T message)
        参数:
        message - data received by the listener
        返回:
        data replying to producer