Step | Description |
1 | This step acquires a MIME message. This example calls a helper service that puts a three-part test message in the pipeline as an InputStream. In a production solution, it is more likely that a MIME message would be passed into the pipeline by a content handler or a back-end system. |
2 | This step takes the MIME message and creates a MIME object (mimeData) containing the message’s headers and content. If you view the pipeline, you will note that the InputStream produced by step 1 is linked to this step’s input variable. |
3 | This step extracts the payload from the second body part in mimeData. In this example, the index parameter is set to 1 to select the second body part. This step returns the payload (in this case an XML document) as an InputStream named content. |
4 | This step converts the XML document in content to a String. |
5 | This step takes the String containing the XML document and parses it, producing an XML node containing the XML document. |
6 | This step produces a document (IData object) containing the XML document’s elements and values. |