Interface ProtocolAdapterPublishInboundInterceptorProvider
public interface ProtocolAdapterPublishInboundInterceptorProvider
This is the input parameter of any
ProtocolAdapterPublishInboundInterceptorProvider providing
ServerInformation and BridgeInformation.- Since:
- Edge 2023.1
-
Method Summary
Modifier and TypeMethodDescription@Nullable ProtocolAdapterPublishInboundInterceptorThis method is called by HiveMQ for each outgoing PUBLISH message from a protocol adapter.
-
Method Details
-
getProtocolAdapterPublishInboundInterceptor
@Nullable @Nullable ProtocolAdapterPublishInboundInterceptor getProtocolAdapterPublishInboundInterceptor(@NotNull @NotNull ProtocolAdapterInboundProviderInput input) This method is called by HiveMQ for each outgoing PUBLISH message from a protocol adapter.Either the same
ProtocolAdapterPublishInboundInterceptor(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
ProtocolAdapterPublishInboundInterceptoror null if the PUBLISH should not be intercepted. - Since:
- Edge 2023.1
-