public class SyslogToMapTransformer extends AbstractPayloadTransformer<Object,Map<String,?>>
UNDECODED
. If the date field can be
parsed, it will be returned as a Date
object; otherwise it is returned as a String.Modifier and Type | Field and Description |
---|---|
static String |
FACILITY |
static String |
HOST |
static String |
MESSAGE |
static String |
SEVERITY |
static String |
TAG |
static String |
TIMESTAMP |
static String |
UNDECODED |
logger
Constructor and Description |
---|
SyslogToMapTransformer() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,?> |
transformPayload(Object payload) |
doTransform
transform
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, onInit, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, setTaskScheduler, toString
public static final String FACILITY
public static final String SEVERITY
public static final String TIMESTAMP
public static final String HOST
public static final String TAG
public static final String MESSAGE
public static final String UNDECODED
protected Map<String,?> transformPayload(Object payload) throws Exception
transformPayload
in class AbstractPayloadTransformer<Object,Map<String,?>>
Exception