Interface ProtocolAdapterPublishInboundInterceptorProvider
-
public interface ProtocolAdapterPublishInboundInterceptorProviderThis is the input parameter of anyProtocolAdapterPublishInboundInterceptorProviderprovidingServerInformationandBridgeInformation.- Since:
- Edge 2023.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable ProtocolAdapterPublishInboundInterceptorgetProtocolAdapterPublishInboundInterceptor(@NotNull ProtocolAdapterInboundProviderInput input)This method is called by HiveMQ for each outgoing PUBLISH message from a protocol adapter.
-
-
-
Method Detail
-
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
-
-