public static class Solace.SolaceRecordMapper
extends java.lang.Object
BytesXMLMessage
instances to Solace.Record
objects.
This simplifies the process of converting raw Solace messages into a format suitable for use
within Apache Beam pipelines.Constructor and Description |
---|
SolaceRecordMapper() |
Modifier and Type | Method and Description |
---|---|
static @Nullable Solace.Record |
map(@Nullable com.solacesystems.jcsmp.BytesXMLMessage msg)
Maps a
BytesXMLMessage (if not null) to a Solace.Record . |
public static @Nullable Solace.Record map(@Nullable com.solacesystems.jcsmp.BytesXMLMessage msg)
BytesXMLMessage
(if not null) to a Solace.Record
.
Extracts relevant information from the message, including payload, metadata, and destination details.
msg
- The Solace message to map.