Interface BridgePublishInboundInterceptorProvider
public interface BridgePublishInboundInterceptorProvider
This is the input parameter of any
BridgePublishInboundInterceptorProvider providing
ServerInformation and BridgeInformation.- Since:
- Edge 2023.1
-
Method Summary
Modifier and TypeMethodDescription@Nullable BridgePublishInboundInterceptorgetBridgePublishInboundInterceptor(@NotNull BridgeInboundProviderInput input) This method is called by HiveMQ for each incoming PUBLISH message from a MQTT bridge.
-
Method Details
-
getBridgePublishInboundInterceptor
@Nullable @Nullable BridgePublishInboundInterceptor getBridgePublishInboundInterceptor(@NotNull @NotNull BridgeInboundProviderInput input) This method is called by HiveMQ for each incoming PUBLISH message from a MQTT bridge.Either the same
BridgePublishInboundInterceptor(stateless or must be thread-safe) or a new one (stateful, must not be thread-safe) can be supplied on each call.nullcan be returned if incoming messages for a bridge should not be intercepted.- Parameters:
input- TheBridgeInboundProviderInput.- Returns:
- An implementation of the
BridgePublishInboundInterceptoror null if the PUBLISH should not be intercepted. - Since:
- Edge 2023.1
-