Class AbstractMailMessageTransformer<T>
java.lang.Object
org.springframework.integration.mail.transformer.AbstractMailMessageTransformer<T>
- Type Parameters:
T
- the target payload type.
- All Implemented Interfaces:
Aware
,BeanFactoryAware
,GenericTransformer<Message<?>,
,Message<?>> Transformer
- Direct Known Subclasses:
MailToStringTransformer
public abstract class AbstractMailMessageTransformer<T>
extends Object
implements Transformer, BeanFactoryAware
Base class for Transformers that convert from a JavaMail Message to a
Spring Integration Message.
- Author:
- Mark Fisher, Gary Russell, Artem Bilan
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract AbstractIntegrationMessageBuilder<T>
doTransform
(Message mailMessage) protected MessageBuilderFactory
final void
setBeanFactory
(BeanFactory beanFactory) Message<?>
-
Constructor Details
-
AbstractMailMessageTransformer
public AbstractMailMessageTransformer()
-
-
Method Details
-
setBeanFactory
- Specified by:
setBeanFactory
in interfaceBeanFactoryAware
-
getMessageBuilderFactory
-
transform
- Specified by:
transform
in interfaceGenericTransformer<Message<?>,
Message<?>> - Specified by:
transform
in interfaceTransformer
-
doTransform
-