MIME message to XML transformer
Payload transformer that converts MIME messages to XML.
Transformer that converts the MIME string messages to XML.
The result of this transformation will be a complete, well-formed XML document as a String (the default), XOM document or DOM document. The layout of this document is a 'mime-message' element as defined by the XML schema located at: classpath:com/emagiz/components/mail/emagiz-mail-1.0.xsd
Note that this transformer only supports MIME messages that can successfully be mapped to such an XML document. For example, the message can at most contain 1 MIME part with Content-Type text/plain
and 1 MIME part with Content-Type text/html
, because these are mapped to the <text-content>
and <html-content>
XML elements.
Result type
Sets the result type (XomDocument
, DomDocument
or String
) for the transformation.
Default is String
.
Output channel
Channel where output messages should be sent after (successfully) processing the input message.
You can select the nullChannel
here to silently drop the output messages.
Required
Input channel
Channel to consume the input messages from.
Required
Id
Name that uniquely identifies this flow component.
Required