Interface BridgePublishOutboundInterceptorProvider
-
public interface BridgePublishOutboundInterceptorProviderThis is the input parameter of anyBridgePublishOutboundInterceptorProviderprovidingServerInformationandBridgeInformation.- Since:
- Edge 2023.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable BridgePublishOutboundInterceptorgetBridgePublishOutboundInterceptor(@NotNull BridgeOutboundProviderInput input)This method is called by HiveMQ for each outgoing PUBLISH message from a MQTT bridge.
-
-
-
Method Detail
-
getBridgePublishOutboundInterceptor
@Nullable @Nullable BridgePublishOutboundInterceptor getBridgePublishOutboundInterceptor(@NotNull @NotNull BridgeOutboundProviderInput input)
This method is called by HiveMQ for each outgoing PUBLISH message from a MQTT bridge.Either the same
BridgePublishOutboundInterceptor(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 outgoing messages for a bridge should not be intercepted.- Parameters:
input- TheBridgeOutboundProviderInput.- Returns:
- An implementation of the
BridgePublishOutboundInterceptoror null if the PUBLISH should not be intercepted. - Since:
- Edge 2023.1
-
-