public interface MetadataExtractor
Payloadmetadata, which could be composite metadata with multiple entries. Each metadata entry is decoded based on its
MimeTypeand a name is assigned to the decoded value. The resulting name-value pairs can be added to the headers of a
|Modifier and Type||Field and Description|
The key to assign to the extracted "route" of the payload.
Payloadmetadata. The Payload "route", if present, should be saved under
payload- the payload whose metadata should be read
metadataMimeType- the metadata MimeType for the connection.
DecodingException- if the metadata cannot be decoded
IllegalArgumentException- if routing metadata cannot be decoded