public class DefaultMessageConverter extends Object implements MessageConverter, BeanFactoryAware
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 Set<String> |
SYSLOG_PAYLOAD_ENTRIES |
Constructor and Description |
---|
DefaultMessageConverter() |
Modifier and Type | Method and Description |
---|---|
Message<?> |
fromSyslog(Message<?> message) |
protected MessageBuilderFactory |
getMessageBuilderFactory() |
void |
setBeanFactory(BeanFactory beanFactory) |
public final void setBeanFactory(BeanFactory beanFactory)
setBeanFactory
in interface BeanFactoryAware
protected MessageBuilderFactory getMessageBuilderFactory()
public Message<?> fromSyslog(Message<?> message) throws Exception
fromSyslog
in interface MessageConverter
Exception