public final class NormalizedMessageMapper extends AbstractMessageMapper
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELDS
Config property to project parts from the mapping result.
|
| Constructor and Description |
|---|
NormalizedMessageMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
doConfigure(MappingConfig mappingConfig,
MessageMapperConfiguration configuration)
Applies the mapper specific configuration.
|
String |
getId()
Returns a unique ID of this mapper that can be used in sources and targets to reference this mapper.
|
List<ExternalMessage> |
map(org.eclipse.ditto.protocoladapter.Adaptable adaptable)
Maps an
Adaptable to an ExternalMessage |
List<org.eclipse.ditto.protocoladapter.Adaptable> |
map(ExternalMessage message)
Maps an
ExternalMessage to an Adaptable |
configure, getContentTypeBlacklistclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindContentType, findContentType, getDefaultOptionspublic static final String FIELDS
public String getId()
MessageMappergetId in interface MessageMappergetId in class AbstractMessageMapperpublic void doConfigure(MappingConfig mappingConfig, MessageMapperConfiguration configuration)
AbstractMessageMapperdoConfigure in class AbstractMessageMappermappingConfig - the service configuration for the mapping.configuration - the mapper specific configuration configured in scope of a single connection.public List<org.eclipse.ditto.protocoladapter.Adaptable> map(ExternalMessage message)
MessageMapperExternalMessage to an Adaptablemessage - the ExternalMessage to mappublic List<ExternalMessage> map(org.eclipse.ditto.protocoladapter.Adaptable adaptable)
MessageMapperAdaptable to an ExternalMessageadaptable - the Adaptable to mapCopyright © 2017–2019 Eclipse Foundation. All rights reserved.