Class CodecMessageConverter
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.codec.CodecMessageConverter
- All Implemented Interfaces:
Aware
,BeanFactoryAware
,BeanNameAware
,InitializingBean
,ApplicationContextAware
,ExpressionCapable
,NamedComponent
,MessageConverter
A
MessageConverter
that delegates to a Codec
to convert.- Since:
- 4.2
- Author:
- Gary Russell
-
Field Summary
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
EXPRESSION_PARSER, logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromMessage
(Message<?> message, Class<?> targetClass) Message<?>
toMessage
(Object payload, MessageHeaders headers) Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getComponentType, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, onInit, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
-
Constructor Details
-
CodecMessageConverter
-
-
Method Details
-
fromMessage
- Specified by:
fromMessage
in interfaceMessageConverter
-
toMessage
- Specified by:
toMessage
in interfaceMessageConverter
-