Class SyslogToMapTransformer
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.transformer.AbstractTransformer
org.springframework.integration.transformer.AbstractPayloadTransformer<Object, Map<String,?>>
 
org.springframework.integration.transformer.SyslogToMapTransformer
- All Implemented Interfaces:
- Aware,- BeanFactoryAware,- BeanNameAware,- InitializingBean,- ApplicationContextAware,- ComponentSourceAware,- ExpressionCapable,- GenericTransformer<Message<?>, Message<?>>,- NamedComponent,- Transformer
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
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.springframework.integration.context.IntegrationObjectSupportEXPRESSION_PARSER, logger
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.springframework.integration.transformer.AbstractPayloadTransformerdoTransformMethods inherited from class org.springframework.integration.transformer.AbstractTransformertransformMethods inherited from class org.springframework.integration.context.IntegrationObjectSupportafterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentDescription, getComponentName, getComponentSource, getComponentType, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, onInit, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentDescription, setComponentName, setComponentSource, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
- 
Field Details- 
FACILITY- See Also:
 
- 
SEVERITY- See Also:
 
- 
TIMESTAMP- See Also:
 
- 
HOST- See Also:
 
- 
TAG- See Also:
 
- 
MESSAGE- See Also:
 
- 
UNDECODED- See Also:
 
 
- 
- 
Constructor Details- 
SyslogToMapTransformerpublic SyslogToMapTransformer()
 
- 
- 
Method Details- 
transformPayload- Specified by:
- transformPayloadin class- AbstractPayloadTransformer<Object, Map<String,- ?>> 
 
 
-