@ProviderType public class MessageToSDTMapConverter extends Object implements com.solace.messaging.util.internal.SolaceTypeConverter.MessageToSolaceType<SolaceSDTMap>, Converter.BytesToObject<SolaceSDTMap>
Converter.BytesToObject<T extends Serializable>, Converter.ObjectToBytes<T extends Serializable>| Constructor and Description |
|---|
MessageToSDTMapConverter() |
| Modifier and Type | Method and Description |
|---|---|
SolaceSDTMap |
convert(byte[] src)
Converts the provided byte-array to the specified type.
|
SolaceSDTMap |
get(com.solacesystems.jcsmp.BytesXMLMessage message) |
public SolaceSDTMap convert(byte[] src) throws PubSubPlusClientException.IncompatibleMessageException
Converter.BytesToObjectconvert in interface Converter.BytesToObject<SolaceSDTMap>src - a byte-array; a null check on this parameter is required in the
implementation of this methodPubSubPlusClientException.IncompatibleMessageException - if an incompatible message payload is foundpublic SolaceSDTMap get(com.solacesystems.jcsmp.BytesXMLMessage message) throws PubSubPlusClientException.IncompatibleMessageException
get in interface com.solace.messaging.util.internal.SolaceTypeConverter.MessageToSolaceType<SolaceSDTMap>PubSubPlusClientException.IncompatibleMessageExceptionCopyright 2019-2022 Solace Corporation. All rights reserved.