@FunctionalInterface public static interface InboundMessage.IncompatibleMessageHandler
Modifier and Type | Method and Description |
---|---|
void |
onIncompatibleMessage(InboundMessage poisonMessage,
Converter.BytesToObject usedConverter,
Class<?> targetType,
PubSubPlusClientException.IncompatibleMessageException t)
The callback that executes when incompatible messages are received.
|
void onIncompatibleMessage(InboundMessage poisonMessage, Converter.BytesToObject usedConverter, Class<?> targetType, PubSubPlusClientException.IncompatibleMessageException t)
poisonMessage
- the incompatible message that can't be processed using the given
converterusedConverter
- the converter used to process message payloadtargetType
- the conversion target classt
- the exceptionCopyright 2019-2024 Solace Corporation. All rights reserved.