public class DefaultMessageConverter extends java.lang.Object implements MessageConverter
MessageConverter
; delegates to a SyslogToMapTransformer
to convert the payload to a map of values and also provides some of the map
contents as message headers.
See @link SyslogHeaders
for the headers that are mapped.Modifier and Type | Field and Description |
---|---|
static java.util.Set<java.lang.String> |
SYSLOG_PAYLOAD_ENTRIES |
Constructor and Description |
---|
DefaultMessageConverter() |
Modifier and Type | Method and Description |
---|---|
Message<?> |
fromSyslog(Message<?> message) |
public static final java.util.Set<java.lang.String> SYSLOG_PAYLOAD_ENTRIES
public Message<?> fromSyslog(Message<?> message) throws java.lang.Exception
fromSyslog
in interface MessageConverter
java.lang.Exception