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 |
---|---|
protected boolean |
asMap() |
Message<?> |
fromSyslog(Message<?> message) |
protected MessageBuilderFactory |
getMessageBuilderFactory() |
void |
setAsMap(boolean asMap)
Set false will leave the payload as the original complete syslog.
|
void |
setBeanFactory(BeanFactory beanFactory) |
public void setAsMap(boolean asMap)
asMap
- boolean flag.protected boolean asMap()
public final void setBeanFactory(BeanFactory beanFactory)
setBeanFactory
in interface BeanFactoryAware
protected MessageBuilderFactory getMessageBuilderFactory()
public Message<?> fromSyslog(Message<?> message)
fromSyslog
in interface MessageConverter