Parameter map to XML transformer
Payload transformer that transforms a parameter map as returned by a Http servlet request to XML.
Payload transformer that transforms a parameter map as returned by HttpServletRequest.getParameterMap() to XML.
The result of this transformation will be a complete, well-formed XML document as a String, XOM document or DOM document. For the layout of this document, see the example below.
Example The parameter map generated for these URI parameters:
...?param1=value1¶m2=value2.1¶m2=value2.2will result in this XML document:
<?xml version="1.0"?> <http:parameter-map xmlns:http="http://www.emagiz.com/ns/http/1.0/"> <http:parameter name="param1" value="value1" /> <http:parameter name="param2"> <http:value>value2.1</http:value> <http:value>value2.2</http:value> </http:parameter> </http:parameter-map>
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