Interface PubrecOutboundInterceptor

    • Method Detail

      • onOutboundPubrec

        void onOutboundPubrec​(@NotNull PubrecOutboundInput pubrecOutboundInput,
                              @NotNull PubrecOutboundOutput pubrecOutboundOutput)
        When a PubrecOutboundInterceptor is set through any extension, this method gets called for every outbound PUBREC packet for any MQTT client.

        When the extension is enabled after HiveMQ is already running, this method will also be called for future PUBRECs for clients that are already connected.

        Parameters:
        pubrecOutboundInput - The PubrecOutboundInput parameter.
        pubrecOutboundOutput - The PubrecOutboundOutput parameter.
        Since:
        4.3.0, CE 2020.1