Class SyslogToMapTransformer

All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, InitializingBean, ApplicationContextAware, ExpressionCapable, NamedComponent, GenericTransformer<Message<?>,​Message<?>>, Transformer

public class SyslogToMapTransformer
extends AbstractPayloadTransformer<Object,​Map<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
Author:
Gary Russell, Artem Bilan, Karol Dowbecki