Spring Integration

org.springframework.integration.syslog
Class DefaultMessageConverter

java.lang.Object
  extended by org.springframework.integration.syslog.DefaultMessageConverter
All Implemented Interfaces:
MessageConverter

public class DefaultMessageConverter
extends java.lang.Object
implements MessageConverter

Default 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.

Since:
3.0
Author:
Gary Russell

Field Summary
static java.util.Set<java.lang.String> SYSLOG_PAYLOAD_ENTRIES
           
 
Constructor Summary
DefaultMessageConverter()
           
 
Method Summary
 Message<?> fromSyslog(Message<?> message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYSLOG_PAYLOAD_ENTRIES

public static final java.util.Set<java.lang.String> SYSLOG_PAYLOAD_ENTRIES
Constructor Detail

DefaultMessageConverter

public DefaultMessageConverter()
Method Detail

fromSyslog

public Message<?> fromSyslog(Message<?> message)
                      throws java.lang.Exception
Specified by:
fromSyslog in interface MessageConverter
Throws:
java.lang.Exception

Spring Integration