Interface BridgePublishOutboundInterceptorProvider
public interface BridgePublishOutboundInterceptorProvider
This is the input parameter of any
BridgePublishOutboundInterceptorProvider providing
ServerInformation and BridgeInformation.- Since:
- Edge 2023.1
-
Method Summary
Modifier and TypeMethodDescription@Nullable BridgePublishOutboundInterceptorgetBridgePublishOutboundInterceptor(@NotNull BridgeOutboundProviderInput input) This method is called by HiveMQ for each outgoing PUBLISH message from a MQTT bridge.
-
Method Details
-
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
-