Interface BridgePublishInboundInterceptor
-
public interface BridgePublishInboundInterceptorInterface for the publish inbound interception.If the same instance is shared between multiple bridges it can be called in different Threads and must therefore be thread-safe.
- Since:
- Edge 2023.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonInboundPublish(@NotNull BridgePublishInboundInput publishInboundInput, @NotNull BridgePublishInboundOutput publishInboundOutput)When aBridgePublishInboundInterceptoris set through any extension, this method gets called for every inbound PUBLISH packet that originates from any remote subscription from any MQTT bridge.
-
-
-
Method Detail
-
onInboundPublish
void onInboundPublish(@NotNull @NotNull BridgePublishInboundInput publishInboundInput, @NotNull @NotNull BridgePublishInboundOutput publishInboundOutput)
When aBridgePublishInboundInterceptoris set through any extension, this method gets called for every inbound PUBLISH packet that originates from any remote subscription from any MQTT bridge.When the extension is enabled after HiveMQ is already running, this method will also be called for future PUBLISHes of clients that are already connected.
- Parameters:
publishInboundInput- TheBridgePublishInboundInputparameter.publishInboundOutput- TheBridgePublishInboundOutputparameter.- Since:
- Edge 2023.1
-
-