Class SyslogToMapTransformer

java.lang.Object
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, ExpressionCapable, NamedComponent, GenericTransformer<org.springframework.messaging.Message<?>,​org.springframework.messaging.Message<?>>, Transformer

public class SyslogToMapTransformer
extends AbstractPayloadTransformer<java.lang.Object,​java.util.Map<java.lang.String,​?>>
Transforms a packet in Syslog (RFC3164) format to a Map. If the packet cannot be decoded, the entire packet is returned as a String under the key UNDECODED. If the date field can be parsed, it will be returned as a Date object; otherwise it is returned as a String.
Since:
2.2